Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provides functions to read a single JSON token from a string or an hFILE. User code can call this repeatedly within nested loops that correspond to the expected structure of their JSON text to parse JSON input. At some point we may wish to move the declarations from hts_internal.h to the public API. At present these functions return tokens in string form only; before making this public, we should also interpret numeric tokens -- see the TODO in the hts_json_token declaration.
- Loading branch information
Showing
3 changed files
with
357 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters