jsonparser icon indicating copy to clipboard operation
jsonparser copied to clipboard

how get the "root" json type?

Open ljf10000 opened this issue 5 years ago • 1 comments

the "root" json maybe as { ... } maybe as [ .... ]

how get the "root" json type?

ljf10000 avatar Aug 01 '19 11:08 ljf10000

You could either use the Get function that gives you back data and type in PR #214 I've added a GuessJSONType function that returns the type of data coming next in the buffer just in case

stephane-moreau avatar Oct 13 '20 07:10 stephane-moreau