You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: document @indexed(alias) support for uppercase JSON fields in Map values
Add documentation explaining how to use @indexed(alias) annotation on nested object fields within Map values to handle uppercase JSON field names while maintaining Java naming conventions. This documents the feature added in commit 5dc89b5.
Copy file name to clipboardExpand all lines: docs/content/modules/ROOT/pages/json-map-fields.adoc
+60Lines changed: 60 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -289,6 +289,66 @@ $.positions.*.description -> TAG field (positions_description)
289
289
290
290
This structure enables efficient queries across all map values, regardless of their keys.
291
291
292
+
=== Handling Uppercase JSON Fields in Complex Map Values
293
+
294
+
When working with external JSON data that uses uppercase field names, you can use the `@Indexed(alias)` annotation on nested object fields within Map values to maintain proper Java naming conventions while preserving the original JSON structure:
0 commit comments