Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

update default value

AykutSaracf3b9bf446e6e
diff --git a/src/pages/editor/JsonEditor/index.tsx b/src/pages/editor/JsonEditor/index.tsx
index 994aa239..2236dc90 100644
--- a/src/pages/editor/JsonEditor/index.tsx
+++ b/src/pages/editor/JsonEditor/index.tsx
@@ -24,23 +24,36 @@ const StyledJSONInput = styled(JSONInput)`
export const defaultValue = [
{
- author: "John Doe",
- pseudonym: "J.D.",
- books: [
+ Author: "J. K. Rowling.",
+ Genre: "Fantasy",
+ Characters: ["Hermione Granger", "Harry Potter", "Lord Voldemort", "MORE"],
+ Books: [
+ { title: "Philosopher's Stone", date: "1997" },
{
- title: "Book 1",
+ title: "Chamber of Secrets",
+ date: "1998",
},
{
- title: "Book 2",
- chapters: [
- {
- title: "No Way Home",
- page: 256,
- },
- ],
+ title: "Prisoner of Azkaban",
+ date: "1999",
+ },
+ {
+ title: "Goblet of Fire",
+ date: "1999",
+ },
+ {
+ title: "Order of the Phoenix",
+ date: "2003",
+ },
+ {
+ title: "Half-Blood Prince",
+ date: "2005",
+ },
+ {
+ title: "Deathly Hallows",
+ date: "2007",
},
],
- age: 26,
},
];