-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(json.Marshaler): marshal schemas back to json properly.
this makes jsonschema a 2-way street, marshaling decoded schemas back to json. Not all test edge cases have been worked out, which we should cover next, but this'll cover lots & lots of use cases. I'm enforcing the additional constraint that all schema encoding be lexographic (by using maps for object encoding), because we're going to be hashing the results of lots of these schemas, consistent encoding is vital. word.
- Loading branch information
Showing
17 changed files
with
365 additions
and
83 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
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
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.