-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Usage is similar to the stdlibs JSON encoder/decoder but I tried to leave the general structure of the code the same. Main motivation was to support encoding/decoding options to allow encoding string-type map keys as quoted TOML keys. This was implemented on the Encoder with QuoteMapKeys(bool). > The TOML spec supports using UTF-8 strings as keys. > https://github.com/toml-lang/toml/blob/master/versions/en/toml-v0.4.0.md#table
- Loading branch information
Showing
2 changed files
with
215 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.