Skip to content

barney-ci/go-json5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

barney.ci/go-json5

This library implements a parser that supports a subset of the JSON5 specification.

Features

It actually works. I'm not even kidding, I tried alternatives and they all failed on real-world parsing scenarios when trying to deal with comments.

Everything in the JSON5 specification is supported except for Infinity and NaN. This is because this library translates a JSON5 document to JSON, where both values are non-representable. A proper parser needs to be implemented in order to support that use-case.

Usage

go get barney.ci/go-json5

About

A json5 decoder for Go

Topics

Resources

License

Stars

Watchers

Forks

Languages