Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
passing the first tests, seems to be working splendidly
- Loading branch information
Showing
5 changed files
with
42 additions
and
21 deletions.
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
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1 @@ | |||
js0n_test |
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
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,6 +1,6 @@ | |||
|
|
||
// pass it a raw json string and length, it will return an array of unsigned shorts, see js0n.c for more | // pass it a raw json string and length, it will return an array of unsigned shorts, see js0n.c for more | ||
int js0n(unsigned char *js, unsigned int len, unsigned short **out); | int js0n(unsigned char *js, unsigned int len, unsigned short *out); | ||
|
|
||
// TODO: decode a string value, copy into new while unescaping things and unicode stuffs | // TODO: decode a string value, copy into new while unescaping things and unicode stuffs | ||
// int js0n(unsigned char *in, unsigned int len, unsigned char *out); | // int js0n(unsigned char *in, unsigned int len, unsigned char *out); |
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