aboutsummaryrefslogtreecommitdiff
path: root/core/encoding
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo in marshal.odinIkko Eltociear Ashimine2023-04-271-2/+2
| | | seperation -> separation
* Convert indentation to tabsjakubtomsu2023-04-141-6/+6
|
* Handle unmarshalling to json.Valuejakubtomsu2023-04-141-0/+6
|
* Document return values of strings and add allocator errors whereLucas Perlind2023-04-071-1/+1
| | | | possible
* Fix for skip_alphanum in JSON tokenizer not checking if first character is ↵Karl Zylinski2023-04-051-1/+2
| | | | non-alphanum. This broke any single-character key when using SJSON specification in combination with not using quoted strings.
* TypoJeroen van Rijn2023-03-251-1/+1
|
* Update types.odinJeroen van Rijn2023-03-251-6/+6
| | | | Use `context.allocator := allocator` idiom.
* Add allocator parameter to `json.detroy_value`Igor Dreher2023-03-241-5/+5
|
* Add `runtime.DEFAULT_TEMP_ALLOCATOR_TEMP_GUARD` where appropriategingerBill2023-02-102-1/+5
|
* Rename to `Type_Info_Parameters`gingerBill2023-02-081-1/+1
|
* Fix json.marshal for `map[string]string`gingerBill2023-01-241-0/+4
|
* Correct json/unmarshal.odingingerBill2022-11-111-1/+1
|
* Fix json marshal for mapsgingerBill2022-11-081-2/+2
|
* Correct reflection usage of mapsgingerBill2022-11-082-20/+14
|
* else statement to allow skipping unused struct fieldsMichael Kutowski2022-09-301-9/+7
|
* Correct json.unmarshal for `map`sgingerBill2022-09-211-2/+2
|
* Update json/unmarshal.odin for the new `runtime.__dynamic_map_set`gingerBill2022-09-171-8/+6
|
* Add missing importgingerBill2022-09-141-1/+2
|
* Use `json` field tag for `json.marshal`gingerBill2022-09-141-1/+5
|
* Allow for ignored fields in struct for `json.unmarshal`gingerBill2022-09-141-1/+8
|
* Fixed marshal_to_writer not supporting i128Despacito6969692022-08-261-0/+1
| | | Previously json.marshal(i128(696969)) would print 0 as there was no `u = i128(i)` initialization.
* Update marshal.odinMichael Kutowski2022-08-121-1/+1
|
* add new soa type, my bad wasnt on masterMichael Kutowski2022-08-121-0/+3
|
* switch styling and opt.spaces maxMichael Kutowski2022-08-121-59/+44
|
* Merge branch 'master' into pretty-json-2gingerBill2022-08-116-10/+13
|\
| * Add `#soa` pointer type to aid with refactoring to `#soa` data typesgingerBill2022-08-081-0/+3
| | | | | | | | | | | | | | | | a: #soa[16]Foo p := &a[6] #assert(type_of(p) == #soa^#soa[16]Foo) p^.x = 123 p.x = 123
| * fix some typoscui fliter2022-08-051-1/+1
| | | | | | | | Signed-off-by: cui fliter <imcusg@gmail.com>
| * Fix bug unmarshalling JSON with assertions disabledWilliam Roe2022-07-281-2/+2
| | | | | | | | | | | | | | | | | | 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.
| * Correct naming in testsgingerBill2022-07-112-2/+2
| |
| * Rename strings.Builder procedures to be consistent with the rest of the core ↵gingerBill2022-07-112-6/+6
| | | | | | | | library
* | add uint as hex optionMichael Kutowski2022-08-081-10/+21
| |
* | ...bad pasteMichael Kutowski2022-08-051-8/+17
| |
* | marshal output options with pretty option and other configMichael Kutowski2022-08-051-51/+214
|/
* Rename to SJSON for the Simplified JSON notation variantgingerBill2022-06-162-3/+4
|
* Minor fixgingerBill2022-06-111-1/+1
|
* Deprecate `a..b` based ranges in favour of `..=`dev-2022-06gingerBill2022-06-012-4/+4
|
* Merge functionality of `#maybe` with the standard 'union' functionalitygingerBill2022-05-231-1/+1
|
* Allow CSV/TSV reader to read multi-line fields.Jeroen van Rijn2022-05-131-21/+65
|
* Add `core:encoding/endian`gingerBill2022-05-122-0/+176
|
* Minor style change in leb128.odingingerBill2022-05-121-6/+4
|
* Minor name changes within `core:encoding/xml` for consistencygingerBill2022-05-123-28/+26
|
* [xml] Add `parse_from_string` overload.Jeroen van Rijn2022-04-301-3/+10
| | | | | `parse` now takes either a `[]u8` slice or a string. `load_from_file` takes a path string.
* [i18n] QT Linguist TS reader.Jeroen van Rijn2022-04-291-1/+0
|
* [xml] Speedup.Jeroen van Rijn2022-04-285-174/+236
|
* Merge branch 'master' into xmlJeroen van Rijn2022-04-278-43/+264
|\
| * [json/unmarshal] Fix quoted strings.Jeroen van Rijn2022-04-191-0/+6
| |
| * Revert "Fix unmarshal for escaped strings."Jeroen van Rijn2022-04-191-5/+0
| | | | | | | | This reverts commit 581255bf23af90b77bb2b6e2671b40e2b565754e.
| * Fix unmarshal for escaped strings.Jeroen van Rijn2022-04-191-0/+5
| |
| * [LEB128] Add byte-at-a-time ILEB decoder.Jeroen van Rijn2022-04-161-14/+28
| |
| * Merge pull request #1718 from Kelimion/varint_streamedJeroen van Rijn2022-04-161-20/+32
| |\ | | | | | | Add uleb128 byte-at-a-time decoder.