Interface ArrayTraverser

  • All Known Implementing Classes:
    JsonRender.StringEncoder

    public interface ArrayTraverser
    Callback interface for traversing arrays. Implement this and call Inspector.traverse() and you will get one callback for each array entry.
    • Method Detail

      • entry

        void entry​(int idx,
                   Inspector inspector)
        Callback function to implement.
        Parameters:
        idx - array index for the current array entry.
        inspector - accessor for the current array entry's value.