public static void writeValue ( OutputStream stream , Object pojo ) throws IOException { DataModelSerializer . serializeAsStream ( pojo , stream ) ; }
Write a JSON representation of the asset to a stream