gparser.go 492 B

123456789101112131415
  1. // Copyright GoFrame Author(https://goframe.org). All Rights Reserved.
  2. //
  3. // This Source Code Form is subject to the terms of the MIT License.
  4. // If a copy of the MIT was not distributed with this file,
  5. // You can obtain one at https://gitee.com/johng/gp.
  6. // Package gparser provides convenient API for accessing/converting variable and JSON/XML/YAML/TOML.
  7. package gparser
  8. import (
  9. "github.com/gogf/gf/encoding/gjson"
  10. )
  11. // Parser is actually alias of gjson.Json.
  12. type Parser = gjson.Json