public static Object normalize ( Object input , JsonLdOptions options ) throws JsonLdError { final JsonLdOptions opts = options . copy ( ) ; opts . format = null ; final RDFDataset dataset = ( RDFDataset ) toRDF ( input , opts ) ; return new JsonLdApi ( options ) . normalize ( dataset ) ; }
Performs RDF dataset normalization on the given JSON - LD input . The output is an RDF dataset unless the format option is used .