wjones127 commented on code in PR #41257:
URL: https://github.com/apache/arrow/pull/41257#discussion_r1570995188
##########
docs/source/format/CanonicalExtensions.rst:
##########
@@ -251,6 +251,24 @@ Variable shape tensor
Values inside each **data** tensor element are stored in
row-major/C-contiguous
order according to the corresponding **shape**.
+.. _json_extension:
+
+JSON
+====
+
+* Extension name: `arrow.json`.
+
+* The storage type of this extension is ``StringArray`` or
+ ``StringViewArray``.
+
+* Extension type parameters:
+
+ This type does not have any parameters.
+
+* Description of the serialization:
+
+ Metadata is an empty string.
Review Comment:
That would be interesting, though I'm not sure about adding that until we
have someone who will definitely implement using it.
We could phrase this in a way that metadata is currently optional. Maybe:
```suggestion
Metadata is either an empty string or a JSON string with an empty object.
In the future, additional fields may be added, but they are not required
to interpret the array.
```
--
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]