Package com.powsybl.commons.json
Interface JsonUtil.FieldHandler
-
- Enclosing class:
- JsonUtil
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface JsonUtil.FieldHandler
Called by variants ofJsonUtil.parseObject(com.fasterxml.jackson.core.JsonParser, com.powsybl.commons.json.JsonUtil.FieldHandler)
on each encountered field. Should return false if an unexpected field was encountered.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
onField(String name)
-
-
-
Method Detail
-
onField
boolean onField(String name) throws IOException
- Throws:
IOException
-
-