Description

Get gets the value using the specified selector and returns it inside a new Obj object.

If it cannot find the value, Get will return a nil value inside an instance of Obj.

Get can only operate directly on map[string]interface{} and []interface.

Example

To access the title of the third chapter of the second book, do:

o.Get("books[1].chapters[2].title")

Get is referenced in 1 repository

github.com/stretchr/testify