Package com.yahoo.data.access
Interface ObjectTraverser
- All Known Implementing Classes:
JsonRender.StringEncoder
public interface ObjectTraverser
Callback interface for traversing objects.
Implement this and call Inspector.traverse()
and you will get one callback for each field in an object.
-
Method Summary
-
Method Details
-
field
Callback function to implement.- Parameters:
name
- the name of the current field.inspector
- accessor for the current field's value.
-