Categorygithub.com/caltechlibrary/dotpath
modulepackage
0.0.4
Repository: https://github.com/caltechlibrary/dotpath.git
Documentation: pkg.go.dev

# README

dotpath package

This Go package provides a simple mechanism to extract bits of JSON based on simple explicit dot path notation. This package is used by dataset.

# Functions

Eval takes a dot path and interface (either a map[string]interface{} or []interface) and returns a value from the dot path or error.
EvalJSON takes a dot path plus JSON encoded as byte array and returns the value in the dot path or error.
No description provided by the author

# Constants

No description provided by the author