org.codehaus.jackson.smile
Class Tool

java.lang.Object
  extended by 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
 JsonFactory jsonFactory
           
 SmileFactory smileFactory
           
static String SUFFIX
           
 
Constructor Summary
Tool()
           
 
Method Summary
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