public class JsonEntityEncoding extends Object implements EntityEncoding
EntityEncoding.| Constructor and Description |
|---|
JsonEntityEncoding() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
decode(InputStream stream,
Class<T> type) |
<T> void |
encode(OutputStream stream,
T entity,
boolean includeReadOnlyFields) |
<T> void |
encodeChanges(OutputStream stream,
T original,
T updated) |
public <T> T decode(InputStream stream, Class<T> type) throws MpacException
decode in interface EntityEncodingMpacExceptionpublic <T> void encode(OutputStream stream, T entity, boolean includeReadOnlyFields) throws MpacException
encode in interface EntityEncodingMpacExceptionpublic <T> void encodeChanges(OutputStream stream, T original, T updated) throws MpacException
encodeChanges in interface EntityEncodingMpacExceptionCopyright © 2016 Atlassian. All rights reserved.