Created
September 13, 2014 11:29
-
-
Save marcus-nl/e1e70202c3890fc8e809 to your computer and use it in GitHub Desktop.
EmberSchema to JSON
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EmberSchema schema = ...; | |
JsonGenerator jgen = objectMapper.getFactory() | |
.createGenerator(System.out) | |
.useDefaultPrettyPrinter(); | |
jgen.writeObject(schema); | |
jgen.close(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment