@Test public void parseMap() { String yaml = new String(TestIO.loadRes("test.yaml")); Map<String, Object> data = YAML.parseMap(yaml); eq(data, U.map("aa", 1, "bb", "2am", "cc", U.map("x", true, "z", false))); }
@SuppressWarnings("unchecked") public static Map<String, Object> parseMap(String yaml) { return parse(yaml, Map.class); }
YAML extends RapidoidThing { @SuppressWarnings("unchecked") public static Map<String, Object> parseMap(String yaml) { return parse(yaml, Map.class); } }
YAML extends RapidoidThing { @SuppressWarnings("unchecked") public static Map<String, Object> parseMap(String yaml) { return parse(yaml, Map.class); }  }
YAML extends RapidoidThing { @SuppressWarnings("unchecked") public static Map<String, Object> parseMap(String yaml) { return parse(yaml, Map.class); }  static String stringify(Object value); static void stringify(Object value, OutputStream out); static T parse(String yaml); static T parse(String yaml, Class<T> valueType); static T parse(byte[] yaml, Class<T> valueType); static T parse(String yaml, TypeReference<T> valueType); static T parse(byte[] yaml, TypeReference<T> valueType); @SuppressWarnings("unchecked") static Map<String, Object> parseMap(String yaml); }
YAML extends RapidoidThing { @SuppressWarnings("unchecked") public static Map<String, Object> parseMap(String yaml) { return parse(yaml, Map.class); }  static String stringify(Object value); static void stringify(Object value, OutputStream out); static T parse(String yaml); static T parse(String yaml, Class<T> valueType); static T parse(byte[] yaml, Class<T> valueType); static T parse(String yaml, TypeReference<T> valueType); static T parse(byte[] yaml, TypeReference<T> valueType); @SuppressWarnings("unchecked") static Map<String, Object> parseMap(String yaml); static final ObjectMapper MAPPER; }