- All Implemented Interfaces:
- Inline, Transformer
public class BooleanAsStringTransformer
- extends AbstractTransformer
A Boolean Transformer that writes out as String values in the JSON stream. This is
great for writing out things like "Yes", "No", "Y", "N", "T", "F", etc. It doesn't
handle numeric values. This was written as a separate Transformer so the performance
BooleanTransformer isn't impacted.
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public BooleanAsStringTransformer(String truthValue,
public void transform(Object object)
Copyright © 2014. All Rights Reserved.