diff --git a/header-only/layout-builder/awkward/LayoutBuilder.h b/header-only/layout-builder/awkward/LayoutBuilder.h index cb0fe1830e..e66e09785d 100644 --- a/header-only/layout-builder/awkward/LayoutBuilder.h +++ b/header-only/layout-builder/awkward/LayoutBuilder.h @@ -415,7 +415,7 @@ namespace awkward { /// contents in the form of a JSON-like string. std::string form() const noexcept { - return "{ \"class\": \"EmptyArray\", \"parameters\": {} }"; + return "{ \"class\": \"EmptyArray\" }"; } private: diff --git a/header-only/tests/test_1494-layout-builder.cpp b/header-only/tests/test_1494-layout-builder.cpp index f86288ff91..659ccdbd9a 100644 --- a/header-only/tests/test_1494-layout-builder.cpp +++ b/header-only/tests/test_1494-layout-builder.cpp @@ -460,8 +460,7 @@ test_Empty() { assert(builder.form() == "{ " - "\"class\": \"EmptyArray\", " - "\"parameters\": {} " + "\"class\": \"EmptyArray\" " "}"); clear_buffers(buffers); @@ -532,8 +531,7 @@ test_ListOffset_Empty() { "\"class\": \"ListOffsetArray\", " "\"offsets\": \"i64\", " "\"content\": { " - "\"class\": \"EmptyArray\", " - "\"parameters\": {} " + "\"class\": \"EmptyArray\" " "}, " "\"form_key\": \"node1\" " "}, "