Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website

  • Hi Matthew,

    it would be nice to have JSON instead of binary Object.writeObject() in the database.

    One can fix class related problems manually for instance ;-).

    Arne


  • If I see it right, there are 3 ways to serialize/deserialize a object...

    1. writeObject -> Database
    2. JSONRemote* -> Im/Export
    3. Dwr-JSON -> DWR

    Is this right?


  • Technically yes. But all three are intended for different purposes, and have subtle differences. E.g. number 2 could be used for database serialization, but not in its current form because it is XID-based (not a deal breaker, really, but not ideal). Also, the current object serialization assumes data integrity. If it were text-base and therefore human editable, the code should no longer assume this.