use of mapping option

Closed
Eric Malalel asked on November 7, 2022

I have JSON data sent by a REST API where I have string duration fields such as "25:03:47" for 25 hours 3 minutes and 47 seconds.
How do I use the mapping option so that Flexmonster understands there are duration values and so they are displayed and sorted correctly.

2 answers

Public
Eric Malalel November 8, 2022

solved by reading doc, store value in seconds in JSON and apply mapping type "time".
you can close this ticket.

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster November 8, 2022

Hello, Eric!

Thank you for raising a ticket.

We are glad to hear that our documentation about date and time formatting was helpful.

Feel free to contact us in case of any other questions.

Regards,
Solomiia

This question is now closed