Package de.xima.fc.fastjson
Class FastJsonUpdater<TVersion extends Comparable<TVersion>>
- java.lang.Object
-
- de.xima.fc.fastjson.FastJsonUpdater<TVersion>
-
public class FastJsonUpdater<TVersion extends Comparable<TVersion>> extends Object
Helper class to update JSON objects between different versions.- Since:
- 8.4.0
- Author:
- XIMA MEDIA GmbH
- See Also:
IFastJsonUpdateTransition
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <TVersion extends Comparable<TVersion>>
FastJsonUpdater<TVersion>of(Map<TVersion,? extends IFastJsonUpdateTransition> transitions)
com.alibaba.fastjson.JSONObject
updateSequentially(TVersion current, TVersion previous, com.alibaba.fastjson.JSONObject json)
-
-
-
Method Detail
-
of
public static <TVersion extends Comparable<TVersion>> FastJsonUpdater<TVersion> of(Map<TVersion,? extends IFastJsonUpdateTransition> transitions)
-
-