gingerBill
3dec55f009
Replace x in &y Use &v in y syntax through core & vendor for switch/for statements
2023-06-26 15:42:57 +01:00
jakubtomsu
a6d5f9877f
Convert indentation to tabs
2023-04-14 17:27:52 +02:00
jakubtomsu
994825671d
Handle unmarshalling to json.Value
2023-04-14 15:05:25 +02:00
gingerBill
986cba584e
Add runtime.DEFAULT_TEMP_ALLOCATOR_TEMP_GUARD where appropriate
2023-02-10 16:23:33 +00:00
gingerBill
04a1e7d638
Correct json/unmarshal.odin
2022-11-11 16:15:21 +00:00
gingerBill
6dd4d1a924
Correct reflection usage of maps
2022-11-08 11:50:55 +00:00
Michael Kutowski
f65bdf5733
else statement to allow skipping unused struct fields
2022-09-30 19:40:41 +02:00
gingerBill
a6d3cbe824
Correct json.unmarshal for maps
2022-09-21 13:10:06 +01:00
gingerBill
40bcfc7c8d
Update json/unmarshal.odin for the new runtime.__dynamic_map_set
2022-09-17 13:05:14 +01:00
gingerBill
db1b7b2d21
Allow for ignored fields in struct for json.unmarshal
2022-09-14 16:52:01 +01:00
William Roe
d913155972
Fix bug unmarshalling JSON with assertions disabled
...
When asserts are disabled, code within the assert isn't run. Having
expect_token within an assert means that the state of the Parser is
mutated when asserts are run, but not when they aren't.
There's already a wrapper procedure for this pattern, which I have
reused here.
2022-07-28 13:56:14 +01:00
gingerBill
3ec70c5517
Merge functionality of #maybe with the standard 'union' functionality
2022-05-23 12:04:19 +01:00
Phil H
a7138b22a5
Fix 'unmarsal' typo
2021-12-05 19:04:14 -08:00
gingerBill
a75dc9d86d
Fix minor issue with unmarshal for booleans
2021-11-13 19:07:16 +00:00
gingerBill
19ac822e4a
Improve reflect.Type_Info_Complex support
2021-09-29 15:08:45 +01:00
gingerBill
9d797ea225
Add more support for complex types
2021-09-29 15:02:51 +01:00
gingerBill
c22f2866c7
Remove fmt dependency
2021-09-29 13:18:06 +01:00
gingerBill
9bc12e3f38
Improve json.marshal error handling for io.Writer; Add docs for the different JSON specifications
2021-09-29 13:06:03 +01:00
gingerBill
d452758afc
Improve MJSON handling
2021-09-28 15:01:11 +01:00
gingerBill
c933054872
Support json.Specification.MJSON
...
https://bitsquid.blogspot.com/2009/10/simplified-json-notation.html
2021-09-28 14:53:16 +01:00
gingerBill
ea0bf05727
Make it clear that integers are parsed separately from floats
2021-09-28 12:18:11 +01:00
gingerBill
14a3ddb9af
Allow for union{T} like types in json.unmarshal
2021-09-25 18:05:35 +01:00
gingerBill
6a271355a6
Add json.unmarshal
2021-09-25 17:47:45 +01:00