Unserialize in Java a serialized php object

前端 未结 15 1069
闹比i
闹比i 2020-11-29 11:31

Does anyone know if it is possible, actually if it has been done, to serialize an object in php and unserialize it in Java (java-php communication). Maybe an adapter will be

15条回答
  •  死守一世寂寞
    2020-11-29 11:55

    I remember a snippet for Drupal (PHP CMS) where this functionality was needed. Just found it, so take a look at Serialized drupal node objects to java (should work with any PHP serialized object).

    Maybe you can use that. I don't know whether there are issues with newer versions of PHP.

提交回复
热议问题