public class ConfigurationModelParser extends Object
| Constructor and Description |
|---|
ConfigurationModelParser() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
marshalModel(ConfigurationModel model)
Marshal a
ConfigurationModel to a JSON byte array. |
static ConfigurationModel |
unmarshalModel(byte[] json)
Unmarshal a
ConfigurationModel from a JSON byte array. |
public static ConfigurationModel unmarshalModel(byte[] json) throws com.sitewhere.spi.SiteWhereException
ConfigurationModel from a JSON byte array.json - com.sitewhere.spi.SiteWhereExceptionpublic static byte[] marshalModel(ConfigurationModel model) throws com.sitewhere.spi.SiteWhereException
ConfigurationModel to a JSON byte array.model - com.sitewhere.spi.SiteWhereExceptionCopyright © 2016 SiteWhere, LLC.. All rights reserved.