D
D
Danil2017-03-14 10:26:54
JSON
Danil, 2017-03-14 10:26:54

What is the library that can build JSON from .TXT in which the structure is formatted with spaces?

There is a .TXT document in it there is a data structure formatted with spaces of the form:

Папка1
        Папка2
            Елемент1 папки2
            Елемент2 папки2
        Папка3
    Елемент1 папки 1
    Елемент2 папки 1
    Елемент3 папки 1
Папка4

I need to make JSON out of it. Tell me the npm module that can do this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Interface, 2017-03-14
@Interface

https://github.com/antyakushev/tabdown
stackoverflow.com/questions/21031651/how-can-i-con...
https://jsfiddle.net/ym4oqjyj/1/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question