de.unkrig.commons.text.json
Interface Json.ValueVisitor

All Known Implementing Classes:
JsonUnparseVisitor
Enclosing class:
Json

public static interface Json.ValueVisitor

Interface for the implementation of the 'visitor' pattern for a JSON value.


Method Summary
 void visit(Json.Array array)
          Invoked by Json.Array.accept(Json.ValueVisitor).
 void visit(Json.False falsE)
          Invoked by Json.False.accept(Json.ValueVisitor).
 void visit(Json.Null nulL)
          Invoked by Json.Null.accept(Json.ValueVisitor).
 void visit(Json.NumbeR number)
          Invoked by Json.NumbeR.accept(Json.ValueVisitor).
 void visit(Json.ObjecT object)
          Invoked by Json.ObjecT.accept(Json.ValueVisitor).
 void visit(Json.StrinG string)
          Invoked by Json.StrinG.accept(Json.ValueVisitor).
 void visit(Json.True truE)
          Invoked by Json.True.accept(Json.ValueVisitor).
 

Method Detail

visit

void visit(Json.StrinG string)
Invoked by Json.StrinG.accept(Json.ValueVisitor).


visit

void visit(Json.NumbeR number)
Invoked by Json.NumbeR.accept(Json.ValueVisitor).


visit

void visit(Json.ObjecT object)
Invoked by Json.ObjecT.accept(Json.ValueVisitor).


visit

void visit(Json.Array array)
Invoked by Json.Array.accept(Json.ValueVisitor).


visit

void visit(Json.True truE)
Invoked by Json.True.accept(Json.ValueVisitor).


visit

void visit(Json.False falsE)
Invoked by Json.False.accept(Json.ValueVisitor).


visit

void visit(Json.Null nulL)
Invoked by Json.Null.accept(Json.ValueVisitor).