public final class TeamConfigurationJsonConverter extends Object
TeamConfiguration
to JSON format.Modifier and Type | Method and Description |
---|---|
static TeamConfiguration |
decode(String json)
Decodes a team configuration from JSON format.
|
static String |
encode(TeamConfiguration team)
Converts a team configuration to a JSON format.
|
public static String encode(TeamConfiguration team)
team
- team configuration to convert.public static TeamConfiguration decode(String json) throws com.fasterxml.jackson.core.JsonProcessingException, IOException
json
- team configuration as JSON format.com.fasterxml.jackson.core.JsonProcessingException
- if errors processing the JSON input.IOException
- if errors reading the JSON input.Copyright © 2016. All Rights Reserved.