Documentation
¶
Overview ¶
Package eyeofcloudjson //
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EyeofcloudJSON ¶
type EyeofcloudJSON struct {
// contains filtered or unexported fields
}
EyeofcloudJSON holds the underlying structure of the object
func NewEyeofcloudJSONfromMap ¶
func NewEyeofcloudJSONfromMap(data map[string]interface{}) *EyeofcloudJSON
NewEyeofcloudJSONfromMap constructs the object
func NewEyeofcloudJSONfromString ¶
func NewEyeofcloudJSONfromString(payload string) (*EyeofcloudJSON, error)
NewEyeofcloudJSONfromString constructs the object out of string payload
func (*EyeofcloudJSON) GetValue ¶
func (eocJson *EyeofcloudJSON) GetValue(jsonPath string, schema interface{}) error
GetValue populates the schema passed by the user - it takes primitive types and complex struct type
func (*EyeofcloudJSON) ToMap ¶
func (eocJson *EyeofcloudJSON) ToMap() map[string]interface{}
ToMap returns the native representation of json (map of interface)
func (*EyeofcloudJSON) ToString ¶
func (eocJson *EyeofcloudJSON) ToString() (string, error)
ToString returns the string representation of json
Click to show internal directories.
Click to hide internal directories.