Class Tool


  • public class Tool
    extends java.lang.Object
    Simple command-line utility that can be used to encode JSON as Smile, or decode JSON from Smile: direction is indicated by single command-line option of either "-e" (encode) or "-d" (decode).
    • Constructor Summary

      Constructors 
      Constructor Description
      Tool()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      protected void showUsage()  
      • Methods inherited from class java.lang.Object

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

      • jsonFactory

        public final com.fasterxml.jackson.core.JsonFactory jsonFactory
    • Constructor Detail

      • Tool

        public Tool()
    • Method Detail

      • showUsage

        protected void showUsage()
      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.IOException
        Throws:
        java.io.IOException