Mike Farah
4cf123fed5
Fixed to_entries[]
2023-12-12 15:44:34 +11:00
Mike Farah
13d1bbb45f
Generic ast ( #1829 )
...
Remove dependency on yaml.Node for internal AST representation. Yaml decoder is now just another decoder.
2023-10-18 12:11:53 +11:00
Anders Björklund
cf8cfbd865
Allow build without json and xml support ( #1556 )
...
* Refactor ordered_map into separate files
Separate json and xml, from the regular yaml.
Makes it possible to compile, without those...
* Refactor encoder and decoder creation
Use more consistent parameters vs globals
Return errors instead of calling panic()
* Allow build without json and xml support
2023-03-01 13:19:06 +11:00
Mike Farah
4478bd14c9
Fixed loading yaml with header issue #1445
2022-11-25 12:05:56 +11:00
Mike Farah
880397d549
Refactored decoder responsibilities ( #1402 )
...
- improved comment handling
- yaml decoder now responsible for leading content work around
2022-10-28 14:16:46 +11:00
Mike Farah
c62e18f9b2
Fixed load operator bug
2022-10-25 13:30:38 +11:00
Mike Farah
61978b34df
Added load_base64
2022-02-23 09:38:17 +11:00
Mike Farah
75fffc17e1
Added support for load_props, added missing load_xml tests
2022-02-15 14:51:22 +11:00
Mike Farah
df32baedf1
Added XML decoder ( #1044 )
2021-12-21 15:02:07 +11:00
Mike Farah
356eff3b0b
wip
2021-11-16 16:21:08 +11:00