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
Constructor Summary |
Tool()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SUFFIX
public static final String SUFFIX
- See Also:
- Constant Field Values
jsonFactory
public final JsonFactory jsonFactory
smileFactory
public final SmileFactory smileFactory
Tool
public Tool()
showUsage
protected void showUsage()
main
public static void main(String[] args)
throws IOException
- Throws:
IOException