public static void setPrettyPrinting(boolean prettyPrint) {
        PRETTY_PRINT = prettyPrint;
    }
Read metadata from reader. This does not close the reader

@param reader
@return Metadata or null if nothing could be read from the reader
@throws IOException in case of parse failure or IO failure with Reader
tika-serialization/src/main/java/org/apache/tika/serialization/JsonMetadataList.java