github.com/zhongdalu/gf@v1.0.0/g/encoding/gparser/gparser.go (about)

     1  // Copyright 2017 gf Author(https://github.com/zhongdalu/gf). 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  
     7  // Package gparser provides convenient API for accessing/converting variable and JSON/XML/YAML/TOML.
     8  package gparser
     9  
    10  import (
    11  	"github.com/zhongdalu/gf/g/encoding/gjson"
    12  )
    13  
    14  type Parser struct {
    15  	json *gjson.Json
    16  }