| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Merge pull request #5882 from IllusionMan1212/custom-json-marshalling | Jeroen van Rijn | 2026-01-01 | 2 | -3/+164 |
| |\ | | | | | encoding/json: custom json (un)marshalling | ||||
| | * | Make custom JSON (un)marshalers more like core:fmt's | Jeroen van Rijn | 2025-12-10 | 2 | -61/+200 |
| | | | |||||
| | * | encoding/json: error handling for custom (un)marshallers | Hisham Aburaqibah | 2025-12-02 | 2 | -4/+4 |
| | | | |||||
| | * | encoding/json: custom json (un)marshalling | IllusionMan1212 | 2025-12-02 | 2 | -44/+66 |
| | | | |||||
| * | | [encoding/json] Allow Unmarshalling to `rune` | dozn | 2025-12-30 | 2 | -0/+10 |
| | | | | | | | | | Fixes https://github.com/odin-lang/Odin/issues/6061 | ||||
| * | | [encoding/json] Fix Escapes When Marshalling | dozn | 2025-12-30 | 1 | -3/+3 |
| | | | | | | | | | | | | | Fixes https://github.com/odin-lang/Odin/issues/6060 and https://github.com/odin-lang/Odin/issues/6075 The boolean "true" was setting `html_safe` instead of `for_json`. Chalk one up for the "use enums instead of booleans" crowd. | ||||
| * | | Moved `first_iteration` up a couple lines so it makes sense readability-wise. | dozn | 2025-12-30 | 1 | -1/+1 |
| | | | |||||
| * | | Add JSON5/SJSON Comments When Marshalling | dozn | 2025-12-29 | 1 | -0/+26 |
| | | | | | | | | | | | | | Allows user-facing JSON5/SJSON to have comments explaining field usage. `json.Marshal_Options.pretty` must be enabled since we only use single-line comments (not to mention it wouldn't be terribly useful without `pretty` set anyways). We don't escape anything, so `\n` will display as "\n", but you're still able to enter in a proper newline character and it'll be displayed on multiple lines. | ||||
| * | | Fix standard json parsing / unmarshalling issue for pure arrays | Sylphrena | 2025-12-29 | 2 | -11/+11 |
| |/ | |||||
| * | encoding/json: clone unquoted strings | Neirokan | 2025-11-06 | 2 | -15/+17 |
| | | |||||
| * | Link doc lines to source specifications. | Jeroen van Rijn | 2025-10-10 | 1 | -1/+1 |
| | | |||||
| * | Render examples. | Jeroen van Rijn | 2025-10-10 | 1 | -10/+12 |
| | | |||||
| * | Further overhaul of package line comments. | Jeroen van Rijn | 2025-10-09 | 2 | -2/+1 |
| | | |||||
| * | package lines for encoding | Jeroen van Rijn | 2025-10-09 | 1 | -0/+2 |
| | | |||||
| * | Followup fix to #4895 | Courtney Strachan | 2025-10-05 | 1 | -3/+1 |
| | | |||||
| * | Merge branch 'odin-lang:master' into master | Courtney Strachan | 2025-10-06 | 3 | -21/+45 |
| |\ | |||||
| | * | Change `is_utf16` field to `encoding` and use an enum | gingerBill | 2025-08-05 | 1 | -1/+1 |
| | | | |||||
| | * | Begin supporting `string16` across the core library | gingerBill | 2025-08-02 | 2 | -5/+7 |
| | | | |||||
| | * | Clarify `strconv.append_*` to `strconv.write_*` | Feoramund | 2025-06-05 | 1 | -4/+4 |
| | | | |||||
| | * | Merge pull request #4944 from dozn/master | Laytan | 2025-05-15 | 1 | -8/+14 |
| | |\ | | | | | | | [core:encoding/json] When Unmarshalling, Only Match On Struct Tags If Present | ||||
| | | * | [core:encoding/json] When Unmarshalling, Only Match Struct Tags If Present | dozn | 2025-03-17 | 1 | -8/+14 |
| | | | | |||||
| | * | | Fix typo in private function | Ely Alon | 2025-04-28 | 1 | -2/+2 |
| | | | | |||||
| | * | | fix unmarshalling bit sets in json | Laytan Laats | 2025-03-22 | 1 | -2/+18 |
| | |/ | | | | | | | Fixes #4761 | ||||
| * / | Fixed json null value parsing | Courtney Strachan | 2025-03-02 | 1 | -1/+7 |
| |/ | |||||
| * | encoding/json: marshal enumerated arrays to objects with key-value pairs | jkenda | 2025-02-01 | 1 | -3/+13 |
| | | |||||
| * | Remove unnecessary string() conversion. | dozn | 2024-12-28 | 1 | -1/+1 |
| | | |||||
| * | Use Struct Tags For Embedded (with `using`) Structs When Unmarshalling JSON | dozn | 2024-12-28 | 1 | -1/+1 |
| | | | | A fix for https://github.com/odin-lang/Odin/issues/4539 | ||||
| * | fix #4536 - stack buffer overflow for size_of 0 types in struct unmarshal | Laytan Laats | 2024-12-06 | 1 | -1/+1 |
| | | |||||
| * | Merge pull request #4562 from dozn/patch-1 | gingerBill | 2024-12-06 | 1 | -3/+3 |
| |\ | | | | | Move Struct Field Zipping Outside of Loop | ||||
| | * | Move Struct Field Zipping Outside of JSON Token Loop | dozn | 2024-12-05 | 1 | -3/+3 |
| | | | |||||
| * | | Fix #4537 | gingerBill | 2024-12-05 | 1 | -0/+1 |
| |/ | |||||
| * | Fix #4549 | gingerBill | 2024-12-02 | 1 | -1/+1 |
| | | |||||
| * | fix unmarshal unhandled error (#4515) | o:tone | 2024-11-25 | 1 | -1/+1 |
| | | | | * fix unmarshal unhandled error | ||||
| * | Check for more errors in json.unmarshal | gingerBill | 2024-11-14 | 1 | -15/+34 |
| | | |||||
| * | Remove relative types from json marshaller | gingerBill | 2024-11-14 | 1 | -6/+0 |
| | | |||||
| * | encoding/json: fix leak when string is unmarshalled into non-string field | Laytan Laats | 2024-10-19 | 1 | -5/+10 |
| | | | | | Fixes #4391 | ||||
| * | unmarshal bitset ints like cbor does | jakubtomsu | 2024-09-04 | 1 | -1/+24 |
| | | |||||
| * | Allow json to unmarshal empty struct. | Jeroen van Rijn | 2024-07-21 | 1 | -2/+1 |
| | | |||||
| * | Merge pull request #3910 from VladPavliuk/json-add-int-key-map-support | gingerBill | 2024-07-14 | 2 | -41/+67 |
| |\ | | | | | Allow to `marshal` and `unmarshal` maps with int keys | ||||
| | * | Merge branch 'master' into json-add-int-key-map-support | VladPavliuk | 2024-07-14 | 1 | -0/+5 |
| | |\ | |||||
| | * | | Allow to `marshal` and `unmarshal` maps with int keys | VladPavliuk | 2024-07-13 | 2 | -41/+67 |
| | | | | |||||
| * | | | Reduce the size of `runtime.Type_Info` | gingerBill | 2024-07-14 | 2 | -2/+2 |
| | |/ |/| | |||||
| * | | Align ignore syntax of json tags with fmt, cbor | VladPavliuk | 2024-07-14 | 1 | -3/+6 |
| | | | |||||
| * | | Add support of `ignore` tag for `json.marshal` | VladPavliuk | 2024-07-13 | 1 | -1/+3 |
| |/ | |||||
| * | Fix loads of indentation issues with mixing spaces and tabs | gingerBill | 2024-06-29 | 1 | -4/+4 |
| | | |||||
| * | Merge branch 'odin-lang:master' into fix-omitempty-comma | korvahkh | 2024-06-13 | 3 | -41/+42 |
| |\ | |||||
| | * | Port `tests\core\encoding\json` | Jeroen van Rijn | 2024-06-02 | 3 | -41/+42 |
| | | | |||||
| * | | encoding/json: Fix struct marshal() emitting comma after omitted field | korvahkh | 2024-05-27 | 1 | -15/+17 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously: ```odin package main import "core:fmt" import "core:encoding/json" T :: struct { a: string `json:",omitempty"`, b: string, } main :: proc() { data, _ := json.marshal(T{b = "foo"}) fmt.println(string(data)) } ``` would output: ``` {,"b":"foo"} ``` which is not correct. Also cleaned up some whitespace while I'm at it. | ||||
| * | fix(core/encoding/json): remove Unsupported_Type return when marshalling bit_set | IllusionMan1212 | 2024-05-25 | 1 | -2/+0 |
| | | |||||
| * | encoding/json: Properly marshal `#no_nil` unions | korvahkh | 2024-05-11 | 1 | -5/+8 |
| | | | | | | Previously the first variant of a `#no_nil` would always be output as `null`, and following variants would be treated as the wrong type. | ||||