Created
May 11, 2017 03:43
-
-
Save anidotnet/2077bf53be9aef96e320e552dfb21d5d to your computer and use it in GitHub Desktop.
Nitrite Introduction
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
// create a document to populate data | |
Document doc = createDocument("firstName", "John") | |
.put("lastName", "Doe") | |
.put("birthDay", new Date()) | |
.put("data", new byte[] {1, 2, 3}) | |
.put("fruits", new ArrayList<String>() {{ add("apple"); add("orange"); add("banana"); }}) | |
.put("note", "a quick brown fox jump over the lazy dog"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment