2019-02-02 16:18:25 +08:00
|
|
|
// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved.
|
2018-01-23 15:02:42 +08:00
|
|
|
//
|
|
|
|
|
// This Source Code Form is subject to the terms of the MIT License.
|
|
|
|
|
// If a copy of the MIT was not distributed with this file,
|
2018-01-23 18:23:05 +08:00
|
|
|
// You can obtain one at https://gitee.com/johng/gp.
|
2018-01-23 15:02:42 +08:00
|
|
|
|
2019-04-02 23:33:27 +08:00
|
|
|
// Package gparser provides convenient API for accessing/converting variable and JSON/XML/YAML/TOML.
|
2018-01-23 15:02:42 +08:00
|
|
|
package gparser
|
|
|
|
|
|
|
|
|
|
import (
|
2019-05-08 22:04:36 +08:00
|
|
|
"github.com/gogf/gf/g/encoding/gjson"
|
2018-01-23 15:02:42 +08:00
|
|
|
)
|
|
|
|
|
|
2018-01-23 18:23:05 +08:00
|
|
|
type Parser struct {
|
2019-06-19 09:06:52 +08:00
|
|
|
json *gjson.Json
|
2018-01-23 15:02:42 +08:00
|
|
|
}
|