ValueUtils

org.encalmo.lambda.ValueUtils
object ValueUtils

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
ValueUtils.type

Members list

Value members

Concrete methods

def getValue(pathIterator: Iterator[String], target: Value): Option[Value]

Retrieve some value at json path, or return None.

Retrieve some value at json path, or return None.

Attributes

inline def parsePath(path: String): Iterator[String]
def setValue(pathIterator: Iterator[String], target: Value, valueToSet: Value, force: Boolean): Unit

Set value at json path. If force=true then add missing path parts.

Set value at json path. If force=true then add missing path parts.

Attributes

def transformValue(pathIterator: Iterator[String], target: Value, transform: PartialFunction[Value, Value], force: Boolean): Unit

Transform value at json path. If force=true then add missing path parts.

Transform value at json path. If force=true then add missing path parts.

Attributes