com.celadari.jsonlogicscala.serialize
Returns com.celadari.jsonlogicscala.serialize.Marshaller associated with input typeValue.
Returns com.celadari.jsonlogicscala.serialize.Marshaller associated with input typeValue. If input typeValue is com.celadari.jsonlogicscala.tree.types.SimpleTypeValue then returns mapped value by marshallers attribute. If input typeValue is com.celadari.jsonlogicscala.tree.types.OptionTypeValue, com.celadari.jsonlogicscala.tree.types.ArrayTypeValue, com.celadari.jsonlogicscala.tree.types.MapTypeValue then a new com.celadari.jsonlogicscala.serialize.Marshaller is recursively created by checking paramType of input typeValue.
Marshaller associated to typeValue.
Maps type_codename to com.celadari.jsonlogicscala.serialize.Marshaller.
Maps type_codename to com.celadari.jsonlogicscala.serialize.Marshaller.
More specifically, keys should be type_codename of com.celadari.jsonlogicscala.tree.types.SimpleTypeValue as generic types (OptionTypeValue, MapTypeValue, ArrayTypeValue) are handled recursively by getMarshaller.
Returns serialized scala data structure.
Returns serialized scala data structure.
full structure with logic and data.
Returns tuple of serialized (logic, data) of scala data structure Array\[ com.celadari.jsonlogicscala.tree.JsonLogicCore\].
Returns tuple of serialized (logic, data) of scala data structure Array\[ com.celadari.jsonlogicscala.tree.JsonLogicCore\]. Logic is returned in an array of JsValue and data by merging data JsObject of each condition.
tuple of split (logic JsValue, data JsObject) from conditions.
Returns tuple of serialized (logic, data) of scala data structure com.celadari.jsonlogicscala.tree.ComposeLogic.
Returns tuple of serialized (logic, data) of scala data structure com.celadari.jsonlogicscala.tree.ComposeLogic. Json-logic-typed format requires logic and data to split.
(logic JsValue, data JsValue)
Returns tuple of serialized (logic, data) of scala data structure com.celadari.jsonlogicscala.tree.JsonLogicCore.
Returns tuple of serialized (logic, data) of scala data structure com.celadari.jsonlogicscala.tree.JsonLogicCore. Json-logic-typed format requires logic and data to split.
(logic JsValue, data JsValue)
Returns tuple of serialized (logic, data) of scala data structure com.celadari.jsonlogicscala.tree.ValueLogic.
Returns tuple of serialized (logic, data) of scala data structure com.celadari.jsonlogicscala.tree.ValueLogic. Json-logic-typed format requires logic and data to split.
(logic JsValue, data JsValue)
(Since version ) see corresponding Javadoc for more information.
Responsible for serializing scala data structure com.celadari.jsonlogicscala.tree.JsonLogicCore to json. May be extended to fit custom use cases. Providing the right configuration via com.celadari.jsonlogicscala.serialize.SerializerConf is enough to cover most cases. You may redefine methods to handle extreme uncommon cases.