jsonhelpers

package
v2.9.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2018 License: BSD-3-Clause, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AtSelectorPath

func AtSelectorPath(selectedObject *jsonw.Wrapper, selectors []keybase1.SelectorEntry,
	logger func(format string, arg ...interface{})) ([]*jsonw.Wrapper, libkb.ProofError)

Most failures here log instead of returning an error. If an error occurs, ([], nil) will be returned. This is because a selector may descend into many subtrees and fail in all but one.

func JSONStringSimple

func JSONStringSimple(object *jsonw.Wrapper) (string, error)

JSONStringSimple converts a simple json object into a string. Simple objects are those that are not arrays or objects. Non-simple objects result in an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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