js8544 commented on code in PR #14242:
URL: https://github.com/apache/arrow/pull/14242#discussion_r982338731


##########
cpp/src/arrow/json/parser.cc:
##########
@@ -55,8 +55,8 @@ static Status ParseError(T&&... t) {
 }
 
 const std::string& Kind::Name(Kind::type kind) {
-  static const std::string names[] = {"null",   "boolean", "number",
-                                      "string", "array",   "object"};
+  static const std::string names[] = {"null",  "boolean", "number",          
"string",
+                                      "array", "object",  "number_or_string"};

Review Comment:
   Ah, makes sense. I added a comma after "number_or_string" and now 
clang-format puts all elements on the same line. Looks better now.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to