public class FastJsonObjectCodec extends StringValueResolver<com.alibaba.fastjson.JSONObject> implements ValueObject.Codec<com.alibaba.fastjson.JSONObject>
Modifier and Type | Field and Description |
---|---|
static FastJsonObjectCodec |
INSTANCE |
attributes
Constructor and Description |
---|
FastJsonObjectCodec() |
Modifier and Type | Method and Description |
---|---|
com.alibaba.fastjson.JSONObject |
parse(String s) |
com.alibaba.fastjson.JSONObject |
resolve(String value) |
Class<com.alibaba.fastjson.JSONObject> |
targetClass() |
String |
toJSONString(com.alibaba.fastjson.JSONObject o) |
String |
toString(com.alibaba.fastjson.JSONObject o) |
addPredefinedResolver, amended, apply, attribute, attribute, attributes, clearAttributes, genericTargetType, main, predefined, predefined, targetType, wrap
andThen, andThen, applyOrElse, compose, compose, compose, compose, compose, compose, curry, invert, lift, orElse, times
breakOut
public static final FastJsonObjectCodec INSTANCE
public Class<com.alibaba.fastjson.JSONObject> targetClass()
targetClass
in interface ValueObject.Codec<com.alibaba.fastjson.JSONObject>
public com.alibaba.fastjson.JSONObject parse(String s)
parse
in interface ValueObject.Codec<com.alibaba.fastjson.JSONObject>
public String toString(com.alibaba.fastjson.JSONObject o)
toString
in interface ValueObject.Codec<com.alibaba.fastjson.JSONObject>
public String toJSONString(com.alibaba.fastjson.JSONObject o)
toJSONString
in interface ValueObject.Codec<com.alibaba.fastjson.JSONObject>
public com.alibaba.fastjson.JSONObject resolve(String value)
resolve
in class StringValueResolver<com.alibaba.fastjson.JSONObject>
Copyright © 2014–2018 OSGL (Open Source General Library). All rights reserved.