Versions in this module Expand all Collapse all v1 v1.0.0 Apr 16, 2025 Changes in this version + func FindObjectIndex(v *Value, key string) int + func GetArraySize(v *Value) int + func GetBoolean(v *Value) bool + func GetNumber(v *Value) float64 + func GetObjectKey(v *Value, index int) string + func GetObjectSize(v *Value) int + func GetString(v *Value) string + func SetBoolean(v *Value, b bool) + func SetNumber(v *Value, n float64) + func SetString(v *Value, s string) + type Member struct + K string + V *Value + 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_COLON + const PARSE_MISS_COMMA_OR_CURLY_BRACKET + const PARSE_MISS_COMMA_OR_SQUARE_BRACKET + const PARSE_MISS_KEY + 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 + O []Member + S string + Type ValueType + func GetArrayElement(v *Value, index int) *Value + func GetObjectValue(v *Value, index int) *Value + func GetObjectValueByKey(v *Value, key string) *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 v0 v0.1.0 Mar 26, 2025