Skip to content

Instantly share code, notes, and snippets.

@alex-krash
Created June 28, 2017 13:44
Show Gist options
  • Save alex-krash/2c4ab0405caa53d098ca5861b60e7bbe to your computer and use it in GitHub Desktop.
Save alex-krash/2c4ab0405caa53d098ca5861b60e7bbe to your computer and use it in GitHub Desktop.
package com.jsoniter;
import com.jsoniter.output.JsonStream;
import org.junit.Test;
import java.util.Collections;
public class MyTest {
@Test
public void testOrdinal() {
JsonIterator.deserialize(JsonStream.serialize(Collections.emptyMap()));
}
@Test
public void testStream() {
JsonIterator.enableStreamingSupport();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment