pull/549/head
Arijit Basu 1 year ago committed by Arijit Basu
parent e559b96e31
commit efb4d605c5

@ -1,6 +1,6 @@
### xplr.util.version
Get the current xplr version details.
Get the xplr version details.
Type: function() -> { major: number, minor: number, patch: number }
@ -115,7 +115,7 @@ xplr.util.from_json([[{"foo": "bar"}]])
Dump Lua value into JSON (i.e. also YAML) string.
Type: function( string ) -> value
Type: function( value ) -> string
Example:
@ -146,7 +146,7 @@ xplr.util.from_yaml([[{foo: bar}]])
Dump Lua value into YAML string.
Type: function( string ) -> value
Type: function( value ) -> string
Example:

@ -239,7 +239,7 @@ pub fn from_json<'a>(util: Table<'a>, lua: &Lua) -> Result<Table<'a>> {
/// Dump Lua value into JSON (i.e. also YAML) string.
///
/// Type: function( string ) -> value
/// Type: function( value ) -> string
///
/// Example:
///
@ -297,7 +297,7 @@ pub fn from_yaml<'a>(util: Table<'a>, lua: &Lua) -> Result<Table<'a>> {
/// Dump Lua value into YAML string.
///
/// Type: function( string ) -> value
/// Type: function( value ) -> string
///
/// Example:
///

Loading…
Cancel
Save