extract just one string value for a json string, this should be faster than deserializing a map or a specific object mapping.
extract just one string value for a json string, this should be faster than deserializing a map or a specific object mapping. If the field contains an array or an object, it will return their json representation. If the json is not valid, this might still succeed properly.
the name of the field to extract
the json to look into
the value extracted from the json if it's found, otherwise None.
extract just one string value for a json string, this should be faster than deserializing a map or a specific object mapping.
extract just one string value for a json string, this should be faster than deserializing a map or a specific object mapping. If the field contains an array or an object, it will return their json representation. If the json is not valid, this might still succeed properly.
the name of the field to extract
the json to look into
the value extracted from the json if it's found, otherwise None.
get a field and deserializes it without deserializing the whole json
get a field and deserializes it without deserializing the whole json
Generates a JSON schema object for the specified type.
Generates a JSON schema object for the specified type. Example usage:
// create schema object val jsonSchema = ScalaJsonFactory.mkSchema[MongoBean] // marshal it out ScalaJsonFactory.getObjectMapper.writeValueAsString(jsonSchema)