Simple JSON
0.1
A free simple json library for C
|
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "simple_json.h"
#include "simple_json_object.h"
#include "simple_json_array.h"
#include "simple_json_string.h"
#include "simple_json_error.h"
Go to the source code of this file.
Classes | |
struct | jsParse |
structure keeps track of the buffer being parsed and the position last used More... | |
Functions | |
SJson * | sj_parse_object (jsParse *parse) |
SJson * | sj_parse_array (jsParse *parse) |
SJString * | sj_parse_string (jsParse *parse) |
int | overseek_check_fail (jsParse *parse) |
char * | get_next_unescaped_char (char *buffer, char target) |
SJson * | sj_parse_value (jsParse *parse) |
SJson * | sj_parse_buffer (char *string, unsigned long length) |
given a string, create a JSON object from it More... | |
char* get_next_unescaped_char | ( | char * | buffer, |
char | target | ||
) |
Definition at line 35 of file simple_json_parse.c.
int overseek_check_fail | ( | jsParse * | parse | ) |
Definition at line 24 of file simple_json_parse.c.
Definition at line 142 of file simple_json_parse.c.
SJson* sj_parse_buffer | ( | char * | string, |
unsigned long | length | ||
) |
given a string, create a JSON object from it
string | the strong to convert. NO OP if this is NULL |
length | the amount of characters in the string |
Definition at line 234 of file simple_json_parse.c.
Definition at line 182 of file simple_json_parse.c.
Definition at line 50 of file simple_json_parse.c.
Definition at line 115 of file simple_json_parse.c.