, __, ,
_.._ )\/(,-' (-' `.__
/_ `-. )'_ ` _ (_ _.---._
// \ `-. ,' `-. _\`. `.,' ,--.\
// -.\ ` `. \`. `/ ,' ||
|| _ `\_ ___ ) ) \ /,-' ||
|| `---\ ,'__ \ `,' ,--. \/---. //
\\ .---`. / / | | |,-.\ |`-._ //
`..___.'| \ |,-| | |_ )||\___//
`.____/ \\\O| | \o)// |____/
/ `---/ \-' \
| ,'|,--._.--') \
\ / `n n'\ /
`. `< .::`-,-'::.) ,'
`. \-.____,^. /,'
`. ;`.,-V-.-.`v'
\| \ ` \|\
; `-^---^-'/
`-.______,'
Simba constructor
Simba is the container of Kiara.
If no parent is given, this Simba will be a root.
- Simba parent Parent containe, this parameter is optional.
- Simba The Simba
Add a new kiara
-
String name Name of the kiara
-
mixed value Value of the kiara
-
String description Description of the kiara
- Kiara The kiara
Return the Simba of the last added kiara
- Simba Simba of the last added kiara
Return the parent of the Simba
- Simba Parent of the Simba
Return the value from a key
- mixed|undefined The value or undefined if no value exists
Set the value a kiara
- mixed The value to set
- Simba The simba
Return the config of the Simba
- Object The config as json object
Override the values of the Simba
- Object object The object
- Object The overriden Simba
Kiara constructor
Kiara represent a configuration value.
-
Simba parent Parent of the kiara
-
String name Name of the kiara
-
mixed value Value of the kiara
-
String description Description of the kiara
- Kiara The kiara
Return the value of the Kiara
- mixed The value of the kiara
Set the value of the Kiara
- mixed The value to set
- Kiara The kiara
Return the json representation of the kiara If the Kiara contains other kiara, it will go recursively
- Object The json representation of the kiara
Override the values of the kiara If the Kiara contains other kiara, it will go recursively
- Kiara The kiara
Call parent.add function
Call parent.children function
Call parent.end function