[COMPASS-3429] api: to_json should strip off the ValueType type Created: 31/Jan/19  Updated: 05/Feb/19  Resolved: 05/Feb/19

Status: Closed
Project: Compass
Component/s: schema.rs
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Irina Shestak (Inactive) Assignee: Irina Shestak (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: COMPASS-3418
Story Points: 2
Sprint: Iteration Wasabi

 Description   

I think there should be a serde_json tag I can add to remove the current behaviour of value vector:

"values": [{"Str":"+17438917865"},{"Str":"+17518179206"},{"Str":"+14108799192"}]

should really just be:

"values": ["+17438917865", "+17518179206", "+14108799192"}] 

investigate in serde_json docs


Generated at Wed Feb 07 22:33:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.