Converts a unsafe.JValue to a ast.JValue.
Converts a unsafe.JValue to a ast.JValue. Note that when converting unsafe.JNumber, this can throw runtime error if the underlying string representation is not a correct number. Also when converting a unsafe.JObject to a ast.JObject, its possible to lose data if you have duplicate keys.
https://www.ietf.org/rfc/rfc4627.txt
Represents a JSON Value which may be invalid. Internally uses mutable collections when its desirable to do so, for performance and other reasons (such as ordering and duplicate keys)
https://www.ietf.org/rfc/rfc4627.txt