src/main/java/org/semgus/java/event/EventParser.java
private static SpecEvent parseSetInfo(JSONObject eventDto) throws DeserializationException {
        String keyword = JsonUtils.getString(eventDto, "keyword");
        Object valueDtoRaw = JsonUtils.get(eventDto, "value");
        try {
            return new MetaSpecEvent.SetInfoEvent(keyword, AttributeValue.deserialize(valueDtoRaw));
        } catch (DeserializationException e) {
            throw e.prepend("value");
        }
    }
/**
     * Deserializes a "set-info" event.
     *
     * @param eventDto The JSON representation of the event.
     * @return The deserialized event.
     * @throws DeserializationException If {@code eventDto} is not a valid representation of a "set-info" event.
     */
Deserializes a "set-info" event.
@param eventDto The JSON representation of the event.
@return The deserialized event.
@throws DeserializationException If  eventDto is not a valid representation of a "set-info" event.
Deserializes a " set - info " event . @param eventDto The JSON representation of the event . @return The deserialized event . @throws DeserializationException If eventDto is not a valid representation of a " set - info " event .
private static SpecEvent parseSetInfo(JSONObject eventDto) throws DeserializationException {
        String keyword = JsonUtils.getString(eventDto, "keyword");
        Object valueDtoRaw = JsonUtils.get(eventDto, "value");
        try {
            return new MetaSpecEvent.SetInfoEvent(keyword, AttributeValue.deserialize(valueDtoRaw));
        } catch (DeserializationException e) {
            throw e.prepend("value");
        }
    }
private static SpecEvent parseSetInfo ( JSONObject eventDto ) throws DeserializationException { String keyword = JsonUtils . getString ( eventDto , "keyword" ) ; Object valueDtoRaw = JsonUtils . get ( eventDto , "value" ) ; try { return new MetaSpecEvent . SetInfoEvent ( keyword , AttributeValue . deserialize ( valueDtoRaw ) ) ; } catch ( DeserializationException e ) { throw e . prepend ( "value" ) ; } }
Deserializes a "set-info" event.
Deserializes a " set - info " event .