Xbasic
a5_MakeJSONIndexFile Function
Syntax
C result = a5_MakeJSONIndexFile(fnInputJSON as C, keys as C [, flagCompactIndex as L ])
Arguments
- fnInputJSONCharacter
Character
- keysCharacter
Character
- flagCompactIndexLogical
Logical If .t., the output will be compact, omitting any new lines or tabs from the generated JSON object.
Description
Takes an input JSON file (an array of objects) and creates two files. An index file with just the key fields and offset and length, and a raw file with the original data