Tool (Jackson JSON Processor)
Date: 2013-07-14

org.codehaus.jackson.smile

## Class Tool

- java.lang.Object
- - org.codehaus.jackson.smile.Tool

-     public class Tool
      extends 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).
  Since:
    1.6.2
  Author:
    tatu

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `JsonFactory` | `jsonFactory`
    `SmileFactory` | `smileFactory`
    `static String` | `SUFFIX`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Tool()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `main(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

    - #### SUFFIX

          public static final String SUFFIX

      See Also:
        Constant Field Values

    - #### jsonFactory

          public final JsonFactory jsonFactory

    - #### smileFactory

          public final SmileFactory smileFactory

  - ### Constructor Detail

    - #### Tool

          public Tool()

  - ### Method Detail

    - #### showUsage

          protected void showUsage()

    - #### main

          public static void main(String[] args)
                           throws IOException

      Throws:
        `IOException`