mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
38 lines
1020 B
Java
38 lines
1020 B
Java
//package com.proofpoint.forensics.afrm;
|
|
|
|
import com.fasterxml.jackson.databind.JsonNode;
|
|
import org.testng.annotations.Test;
|
|
|
|
public class FooTest {
|
|
|
|
@Test
|
|
public void foo() throws Exception {
|
|
JsonNode json = test.toJson(
|
|
"[",
|
|
" {",
|
|
" \"foo\": { ",
|
|
" \"bar\": 17,",
|
|
" \"xyz\": 19 ",
|
|
" }",
|
|
" },",
|
|
" {",
|
|
" \"foo\": { ",
|
|
" \"bar\": 17,",
|
|
" \"xyz\": 19 ",
|
|
" }",
|
|
" },",
|
|
" {",
|
|
" \"foo\": { ",
|
|
" \"bar\": 17,",
|
|
" \"xyz\": 19 ",
|
|
" }",
|
|
" },",
|
|
" {",
|
|
" \"foo\": { ",
|
|
" \"bar\": 17,",
|
|
" \"xyz\": 19 ",
|
|
" }",
|
|
" }",
|
|
"]");
|
|
}
|
|
} |