@Singleton public static class ChefParserModule.DataBagItemAdapter extends NullHackJsonLiteralAdapter<DatabagItem>
NullHackJsonLiteralAdapter.NullReplacingWriter
Constructor and Description |
---|
ChefParserModule.DataBagItemAdapter() |
Modifier and Type | Method and Description |
---|---|
protected DatabagItem |
createJsonLiteralFromRawJson(String text)
User supplied type that holds json literally.
|
protected String |
toString(DatabagItem value) |
getWriter, read, write
protected DatabagItem createJsonLiteralFromRawJson(String text)
NullHackJsonLiteralAdapter
8
, boolean as true
, string as "value"
, object as , list {@code []}.createJsonLiteralFromRawJson
in class NullHackJsonLiteralAdapter<DatabagItem>
protected String toString(DatabagItem value)
toString
in class NullHackJsonLiteralAdapter<DatabagItem>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.