Jeroen van Rijn
|
601df0e8f7
Port `tests\core\encoding\json`
|
1 year ago |
gingerBill
|
334e08c750
Update numerous package declaration names
|
1 year ago |
gingerBill
|
5eef29290c
Fix #3250
|
1 year ago |
Rickard Andersson
|
931e0d4687
cleanup: remove unused import
|
1 year ago |
Rickard Andersson
|
cfa3765d50
fix: guard against empty key value in `parse_object_body`
|
1 year ago |
Rickard Andersson
|
11e884aec5
docs: add note about checking for alloc error
|
1 year ago |
Rickard Andersson
|
55a1ba710b
fix: use `runtime.map_insert` to not overallocate
|
1 year ago |
Rickard Andersson
|
0a8b266c71
fix(json): return `.Out_Of_Memory` when out of memory on parse
|
1 year ago |
Abdelrahman Farid
|
f1872f495a
Fix bug with index increment in `unquote_string`
|
1 year ago |
Laytan Laats
|
5d54b710e7
fix #2550 json encoding should use surrogate pairs per RFC7159
|
2 years ago |
gingerBill
|
f2ecda8fec
Rename to SJSON for the Simplified JSON notation variant
|
3 years ago |
Jeroen van Rijn
|
a30b9b17b3
[json/unmarshal] Fix quoted strings.
|
3 years ago |
Jeroen van Rijn
|
29b2c04766
Revert "Fix unmarshal for escaped strings."
|
3 years ago |
Jeroen van Rijn
|
581255bf23
Fix unmarshal for escaped strings.
|
3 years ago |
Daniel Gavin
|
5b074ceee5
Add json encoding test + fix enum not being set on success.
|
3 years ago |
gingerBill
|
d452758afc
Improve MJSON handling
|
3 years ago |
gingerBill
|
c933054872
Support `json.Specification.MJSON`
|
3 years ago |
gingerBill
|
6a271355a6
Add `json.unmarshal`
|
3 years ago |
gingerBill
|
251da264ed
Remove unneeded semicolons from the core library
|
3 years ago |
gingerBill
|
f293d7c997
Update package encoding/json for `or_return`
|
4 years ago |
gingerBill
|
db3501f61b
[Breaking] Change the layout `json.Value` to be a `union` rather than a `struct` of a `json.Pos` and the union
|
4 years ago |
gingerBill
|
86649e6b44
Core library clean up: Make range expressions more consistent and replace uses of `..` with `..=`
|
4 years ago |
jockus
|
195dbd658d
Added option to parse number as integer, disabled by default
|
4 years ago |
gingerBill
|
5fa54fd2cc
Commit fix
|
5 years ago |
gingerBill
|
e8f2fb58d9
Fix `strconv.parse_` usage across other packages
|
5 years ago |
gingerBill
|
d1c9fd4e01
Implement `#complete switch` by default, replace with `#partial switch` #511
|
5 years ago |
gingerBill
|
9db81498d8
Make the `string` type elements "immutable", akin to `char const *` in C
|
5 years ago |
gingerBill
|
db2eff6847
Fix typo in json/parser.odin
|
6 years ago |
gingerBill
|
e047d9eb5e
Update `package json` parser to store the end position on the values
|
6 years ago |
gingerBill
|
5af20aa467
Make encoding/json use []byte rather than string
|
6 years ago |