eyeofcloudjson

package
v2.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2025 License: Apache-2.0 Imports: 4 Imported by: 1

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL