Package net.obvj.confectory.mapper
Class YAMLToJSONObjectMapper
- java.lang.Object
-
- net.obvj.confectory.mapper.YAMLToObjectMapper<net.minidev.json.JSONObject>
-
- net.obvj.confectory.mapper.YAMLToJSONObjectMapper
-
- All Implemented Interfaces:
Mapper<net.minidev.json.JSONObject>
public class YAMLToJSONObjectMapper extends YAMLToObjectMapper<net.minidev.json.JSONObject> implements Mapper<net.minidev.json.JSONObject>
A specializedMapperthat loads the contents of a valid YAMLSource(e.g.: file, URL, string) as aJSONObject, using SnakeYAML.- Since:
- 1.1.0
- Author:
- oswaldo.bapvic.jr (Oswaldo Junior)
-
-
Constructor Summary
Constructors Constructor Description YAMLToJSONObjectMapper()Builds a new YAML mapper
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigurationHelper<net.minidev.json.JSONObject>configurationHelper(net.minidev.json.JSONObject jsonObject)-
Methods inherited from class net.obvj.confectory.mapper.YAMLToObjectMapper
apply
-
-
-
-
Method Detail
-
configurationHelper
public ConfigurationHelper<net.minidev.json.JSONObject> configurationHelper(net.minidev.json.JSONObject jsonObject)
- Specified by:
configurationHelperin interfaceMapper<net.minidev.json.JSONObject>- Overrides:
configurationHelperin classYAMLToObjectMapper<net.minidev.json.JSONObject>
-
-