Commit Graph

23 Commits

Author SHA1 Message Date
Alamy Liu
6d3025be56 Allow escape/special character in string
Consider the case of PEM certificate.
This modification give it a chance to scan over those
escape characters. e.g.:
  '\t': 0x09
  '\n': 0x0A

Signed-off-by: Alamy Liu <alamy.liu@gmail.com>
2020-02-27 12:01:25 -08:00
Jürgen Eidt
1d599e855b
Update tiny-json.c
Replaced keyword in struct jsonPool_s to fix error in Visual Studio
2018-12-26 13:03:45 -08:00
rafagafe
a087bcabb5 Remove GNU extensions and some refactors are made. 2018-11-15 00:43:30 +01:00
Vladislav Grishenko
b3804dcf50 Implement custom pool API
Now it's poosible to use any custom pool allocation, i.e
preallocated pools or dymamic allocation on fly.
2018-11-10 23:37:33 +05:00
rafagafe
9052ef2473 Use standard library. 2018-09-24 00:42:03 +02:00
rafagafe
555eeeee15 Fix license date and refactor test. 2018-09-01 01:25:10 +02:00
rafagafe
22b6651a30 License banners workaround 2018-08-29 17:53:04 +02:00
PetersSharp
dc69989b99
update warnings about differ in signedness
- tiny-json.c: In function 'parseString':
- tiny-json.c:124:13: warning: pointer targets in return differ in signedness [-Wpointer-sign]
- tiny-json.c:128:17: warning: pointer targets in passing argument 1 of 'getCharFromUnicode' differ in signedness [-Wpointer-sign]
- tiny-json.c:105:13: note: expected 'const char *' but argument is of type 'unsigned char *'
2018-05-14 02:32:02 +03:00
PetersSharp
421fbd3501
update warning unnamed structs/unions
fix warning: ISO C99 doesn't support unnamed structs/unions
2018-04-26 13:47:54 +03:00
Joel Vandergriendt
2f6c919986 speed up large arrays 2018-03-29 13:33:51 -07:00
rafagafe
529f854675 Remove magic numbers. 2017-05-20 00:21:27 +02:00
rafagafe
cac8c847b7 Refactor 2017-04-05 09:43:01 +02:00
rafagafe
4b5187975e More tests are added. 2017-04-05 09:10:24 +02:00
rafagafe
37937178bc Defensive programming is added. 2017-04-05 02:25:17 +02:00
rafagafe
6b22d08c90 Refactor 2017-04-04 01:37:49 +02:00
rafagafe
baf48cb37b Remove unnecessary JSON type. 2017-04-03 23:22:15 +02:00
rafagafe
2fc47a5ab5 Create new method to get text values. 2017-04-03 10:12:11 +02:00
rafagafe
6935d1fdc3 Fix empty string as input. 2017-03-20 02:36:26 +01:00
rafagafe
7afe260b8d Fix license text 2017-01-20 14:51:52 +01:00
rafagafe
96f2885c90 Header files refactor. 2016-10-20 16:45:06 +02:00
rafagafe
2214e2578a Float point support is added. 2016-10-19 01:17:01 +02:00
rafagafe
cd6b0a0749 Comments refactor. 2016-10-13 00:19:55 +02:00
rafagafe
fb3ef655bd All files are added. 2016-10-12 23:08:38 +02:00