@Test public void shouldConvertJsonStringToJsonValue() throws IOException { JsonValue expectedJsonValue = getExpectedJsonValue(); JsonValue jsonValue = JsonValueBuilder.toJsonValue(expectedJsonValue.toString()); assertEquals(jsonValue.toString(), expectedJsonValue.toString()); }
public static JsonValue toJsonValue(String json) throws JsonException { try { return new JsonValue(mapper.readValue(json, Map.class)); } catch (IOException e) { throw new JsonException("Failed to parse json", e); } }
JsonValueBuilder { public static JsonValue toJsonValue(String json) throws JsonException { try { return new JsonValue(mapper.readValue(json, Map.class)); } catch (IOException e) { throw new JsonException("Failed to parse json", e); } } }
JsonValueBuilder { public static JsonValue toJsonValue(String json) throws JsonException { try { return new JsonValue(mapper.readValue(json, Map.class)); } catch (IOException e) { throw new JsonException("Failed to parse json", e); } }  }
JsonValueBuilder { public static JsonValue toJsonValue(String json) throws JsonException { try { return new JsonValue(mapper.readValue(json, Map.class)); } catch (IOException e) { throw new JsonException("Failed to parse json", e); } }  static JsonObject jsonValue(); static JsonValue toJsonValue(String json); static ObjectMapper getObjectMapper(); }
JsonValueBuilder { public static JsonValue toJsonValue(String json) throws JsonException { try { return new JsonValue(mapper.readValue(json, Map.class)); } catch (IOException e) { throw new JsonException("Failed to parse json", e); } }  static JsonObject jsonValue(); static JsonValue toJsonValue(String json); static ObjectMapper getObjectMapper();  }