Class Json


  • public class Json
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Json()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isJson​(java.nio.file.Path file, java.lang.String contents)
      As opposed to yaml
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Json

        public Json()
    • Method Detail

      • isJson

        public static boolean isJson​(java.nio.file.Path file,
                                     java.lang.String contents)
        As opposed to yaml
        Parameters:
        file - json or yaml file
        contents - file contents
        Returns:
        true if json