Versions in this module Expand all Collapse all v1 v1.0.0 Apr 16, 2025 Changes in this version + func GetArraySize(v *Value) int + func GetNumber(v *Value) float64 + func GetString(v *Value) string + type ParseError int + const PARSE_EXPECT_VALUE + const PARSE_INVALID_STRING_CHAR + const PARSE_INVALID_STRING_ESCAPE + const PARSE_INVALID_UNICODE_HEX + const PARSE_INVALID_UNICODE_SURROGATE + const PARSE_INVALID_VALUE + const PARSE_MISS_COMMA_OR_SQUARE_BRACKET + const PARSE_MISS_QUOTATION_MARK + const PARSE_NUMBER_TOO_BIG + const PARSE_OK + const PARSE_ROOT_NOT_SINGULAR + func Parse(v *Value, json string) ParseError + func (e ParseError) Error() string + type Value struct + A []*Value + N float64 + S string + Type ValueType + func GetArrayElement(v *Value, index int) *Value + func (v *Value) String() string + type ValueType int + const ARRAY + const FALSE + const NULL + const NUMBER + const OBJECT + const STRING + const TRUE + func GetType(v *Value) ValueType + func (t ValueType) String() string v0 v0.1.0 Mar 26, 2025