class JsonParameterMetadataDeserializer implements ParameterMetadataDeserializer {

    @Override
    public AppendableParameter deserialize(BufferedReader reader) throws ParamSerializationException {
        String jsonConfig = null;
        try {
            jsonConfig = StreamPartReader.readPart(reader, '{', '}');
        } catch (IOException exception) {
            throw new ParamSerializationException("Unable to read config part from stream.", exception);
        }

        DeserializedParameter parameter = gson.fromJson(jsonConfig, DeserializedParameter.class);
        parameter.normalizeLevels();

        return parameter;
    }

    public  JsonParameterMetadataDeserializer();

}