Petri Lehtinen
|
d544852ff6
|
Avoid integer overflows with very long strings
|
2013-10-15 08:44:04 +03:00 |
|
Chip Salzenberg
|
9c259c07aa
|
Support \u0000 - add size_t string lengths to API, load and dump \u000, etc.
Also:
Steal strings during parsing for half the mallocs!
Change all input-caused assertions to errors. No crashes please, we're programmers.
|
2013-09-27 17:32:06 -07:00 |
|
Petri Lehtinen
|
2489ea90b1
|
Update copyrights for 2013
|
2013-07-23 13:20:06 +03:00 |
|
Petri Lehtinen
|
3c6e36ba2d
|
Update copyright notices for 2012
|
2012-03-20 20:55:55 +02:00 |
|
Petri Lehtinen
|
fa7c2ea070
|
Update copyright notices for 2011
|
2011-01-22 13:43:14 +02:00 |
|
Petri Lehtinen
|
a2a9107600
|
Don't include stdint.h anywhere
This should have fixed by commit 28682322 , but there was one #include
left in utf.c. It now includes utf.h instead of stdint.h.
|
2010-03-18 07:22:43 +02:00 |
|
Petri Lehtinen
|
08dc8d9baf
|
Add year 2010 to copyright notices
|
2010-02-02 21:26:11 +02:00 |
|
Petri Lehtinen
|
50031440a3
|
Implement JSON_ENSURE_ASCII encoding flag
With this flag, all Unicode characters outside the ASCII range are
escaped.
|
2009-12-05 22:55:30 +02:00 |
|
Petri Lehtinen
|
d67aeb9739
|
Use int32_t instead of plain int with Unicode code points
On some architectures, int just isn't big enough to hold all Unicode
code points.
|
2009-12-02 23:53:54 +02:00 |
|
Petri Lehtinen
|
2f4d6f8ae7
|
Add LICENSE and a copyright note to all sources
|
2009-07-30 11:32:24 +03:00 |
|
Petri Lehtinen
|
9240146c10
|
Implement support for \u escapes
|
2009-07-16 09:58:23 +03:00 |
|
Petri Lehtinen
|
902bcdaa5e
|
Decode and check for correct UTF-8
All strings (decoded JSON text, the argument of json_string(), the key
argument of json_object_set()) are checked for valid UTF-8.
|
2009-07-13 23:38:01 +03:00 |
|