Classes
Members
-
<static> Punto.symbol :String
-
Default notation symbol.
Type:
- String
Methods
-
<static> Punto.from(object [, symbol])
-
Creates a new Punto instance.
Parameters:
Name Type Argument Description objectObject Object that will be set in the instance. All operations will occur against it. symbolString <optional>
Overrides the default notation symbol. Returns:
Punto instance- Type
- Punto
-
<static> Punto.get(object, property [, symbol])
-
Gets an object property value from a dot notated property path.
Parameters:
Name Type Argument Description objectObject Object to get a property. propertyString Property dot notated path. It may include nested objects in the path. symbolString <optional>
Overrides the default notation symbol. Returns:
Object property value.- Type
- *
-
<static> Punto.getSymbol()
-
Gets Punto's default notation symbol.
Returns:
Notation symbol.- Type
- String
-
<static> Punto.normalize(object [, symbol])
-
Normalizes any dot notated property in the object. The dot notated property will be removed and replaced by its conversion.
Parameters:
Name Type Argument Description objectObject Object to be normalized. symbolString <optional>
Overrides the default notation symbol. -
<static> Punto.set(object, property [, symbol], value)
-
Sets an object property value from a dot notated property path.
Parameters:
Name Type Argument Description objectObject Object to have a property set. propertyString Property dot notated path. It may include nested objects in the path. symbolString <optional>
Overrides the default notation symbol. value* Value to be set in the property. -
<static> Punto.setSymbol(symbol)
-
Sets Punto's default notation symbol.
Parameters:
Name Type Description symbolString Overrides the default notation symbol.