Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@
package io.vertx.tests.json;

import com.fasterxml.jackson.databind.exc.InvalidFormatException;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import io.vertx.core.buffer.Buffer;
import io.vertx.core.json.JsonObject;
import org.junit.Test;

import java.time.Instant;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedHashMap;
import java.util.HashMap;
import java.util.List;

Expand All @@ -31,10 +33,11 @@
*/
public class JsonPOJOMapperTest {

@JsonPropertyOrder({"a", "b", "c", "d", "e"})
public static class MyType {
public int a;
public String b;
public HashMap<String, Object> c = new HashMap<>();
public HashMap<String, Object> c = new LinkedHashMap<>();
public List<MyType> d = new ArrayList<>();
public List<Integer> e = new ArrayList<>();
}
Expand Down
Loading