Skip to content

Instantly share code, notes, and snippets.

@DeepSpawn
Created June 27, 2016 22:01
Show Gist options
  • Save DeepSpawn/4b423262e34880b2fe0b7ec9e7220f27 to your computer and use it in GitHub Desktop.
Save DeepSpawn/4b423262e34880b2fe0b7ec9e7220f27 to your computer and use it in GitHub Desktop.
public abstract class Json {
private Json() {
}
public abstract <T> T match(Function<Jseq, T> a,
Function<Jobj, T> b,
Function<Jnumber, T> c,
Function<Jstring, T> d,
Function<Jboolean, T> e,
Function<JNull, T> f
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment