examples package: Reading and writing large JSON files using JSON cursors
JSON cursors are typically used when reading and writing large JSON data sets.
examples package demonstrates how to use JSON input and output cursors; simply have a look
at the services under the
||Creates an input cursor from a JSON string and maps it to another JSON output cursor.|
||Shows how to use Gloop JSON output cursors.|
Please see the following articles for more information:
In the Navigator, expand the
examples package and navigate to the
code folder, then expand the
jsonCursor package. This package contains the
models and services as shown below:
1 2 3 4 5 6 7 8 9 10 11 12
Open to inspect and run the
jsonCursor.input.ReadAndWriteSimpleJson.gloop service to learn
how JSON input cursors work; and the
jsonCursor.output.WriteComplexJson.gloop service for JSON output cursors. Line
and service comments are provided in all of the services for further explanation1.
Reading large JSON data sets can potentially take some time and memory to process. The example services provided shows how fast it is to read a large JSON file using JSON cursors.
Open the service file to see comments. Make sure comments are also not hidden. ↩