How to best map datatable settings to a json string and back

UI Components for JSF
Post Reply
fzurheid
Posts: 8
Joined: 14 Jul 2016, 15:58

04 Jul 2023, 18:06

How to best map Primefaces datatable settings to a JSON string and back ?

Melloware
Posts: 3717
Joined: 22 Apr 2013, 15:48

09 Jul 2023, 16:20

I would say using a Java JSON serialization library like Jackson or Google GSON.
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

NOTiFY
Posts: 393
Joined: 25 May 2016, 22:57

11 Jul 2023, 10:16

PF 13.0.0--Jakarta. Jakarta Faces 4.0.1/Kotlin Multiplatform 1.9.10
Mojarra 4.0.2, OmniFaces 4.2
WildFly 29.0.1.Final 'preview' Jakarta EE 10.0.0
JDK 20.0.2, Kotlin 1.9.10, Gradle 8.3 Groovy DSL, MongoDB 7.0.0
IntelliJ IDEA 2023.2.1, macOS Ventura 13.5.1

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 83 guests