spring-geode/src/main/java/org/springframework/geode/data/json/converter/support/JacksonObjectToJsonConverter.java
/**
	 * Converts the given {@link Object} into {@link String JSON}.
	 *
	 * @param source {@link Object} to convert to {@link String JSON}; must not be {@literal null}.
	 * @return {@link String JSON} generated from the given {@link Object}.
	 * @throws IllegalArgumentException if {@link Object source} is {@literal null}.
	 * @throws JsonProcessingException if the generation of {@link String JSON} from the given {@link Object}
	 * results in an error.
	 * @see com.fasterxml.jackson.databind.ObjectMapper#writeValueAsString(Object)
	 * @see #newObjectMapper(Object)
	 */
Converts the given  Object into  String JSON.
@param source  Object to convert to  String JSON; must not be  null.
@return  String JSON generated from the given  Object.
@throws IllegalArgumentException if  Object source is  null.
@throws JsonProcessingException if the generation of  String JSON from the given  Object
results in an error.
Converts the given Object into String JSON . @param source Object to convert to String JSON ; must not be null . @return String JSON generated from the given Object . @throws IllegalArgumentException if Object source is null . @throws JsonProcessingException if the generation of String JSON from the given Object results in an error .
protected @NonNull String convertObjectToJson(@NonNull Object source) throws JsonProcessingException {
		Assert.notNull(source, "Source object to convert must not be null");
		return newObjectMapper(source).writeValueAsString(source);
	}
protected @ NonNull String convertObjectToJson ( @ NonNull Object source ) throws JsonProcessingException { Assert . notNull ( source , "Source object to convert must not be null" ) ; return newObjectMapper ( source ) . writeValueAsString ( source ) ; }
Converts the given {@link Object} into {@link String JSON}.
Converts the given { @link Object } into { @link String JSON } .