phpserialize

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

License

License

GroupId

GroupId

cn.stackbox
ArtifactId

ArtifactId

phpserialize
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

phpserialize
Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/
Project URL

Project URL

http://maven.apache.org
Source Code Management

Source Code Management

https://github.com/superalsrk/PhpSerialization.git

Download phpserialize

How to add to project

<!-- https://jarcasting.com/artifacts/cn.stackbox/phpserialize/ -->
<dependency>
    <groupId>cn.stackbox</groupId>
    <artifactId>phpserialize</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/cn.stackbox/phpserialize/
implementation 'cn.stackbox:phpserialize:1.0.0'
// https://jarcasting.com/artifacts/cn.stackbox/phpserialize/
implementation ("cn.stackbox:phpserialize:1.0.0")
'cn.stackbox:phpserialize:jar:1.0.0'
<dependency org="cn.stackbox" name="phpserialize" rev="1.0.0">
  <artifact name="phpserialize" type="jar" />
</dependency>
@Grapes(
@Grab(group='cn.stackbox', module='phpserialize', version='1.0.0')
)
libraryDependencies += "cn.stackbox" % "phpserialize" % "1.0.0"
[cn.stackbox/phpserialize "1.0.0"]

Dependencies

compile (1)

Group / Artifact Type Version
com.alibaba : fastjson jar 1.2.7

test (1)

Group / Artifact Type Version
junit : junit jar 4.8.1

Project Modules

There are no modules declared in this project.

PhpSerialization

Build Status

PHP object serialize/unserialize to Java Object, still in development

Unserialize

String body = "a:7:{s:6:\"_token\";s:40:\"nLOlgJE3e1IwP8WimS4k44vMc8NVIC08N159pju4\";s:9:\"_previous\";a:1:{s:3:\"url\";s:29:\"http://example.com/test/home/index\";}s:5:\"flash\";a:2:{s:3:\"old\";a:0:{}s:3:\"new\";a:0:{}}s:9:\"auth_code\";s:32:\"9cee7bcf269a8edf5f313595eef919ce\";s:3:\"url\";a:1:{s:8:\"intended\";s:29:\"http://example.com/test/home/index\";}s:50:\"login_web_59ba36addc2b2f9401580f014c7f58ea4e30989d\";s:32:\"4d4eb6317e5e4871897fdd7165964d3a\";s:9:\"_sf2_meta\";a:3:{s:1:\"u\";i:1466043199;s:1:\"c\";i:1466042852;s:1:\"l\";s:1:\"0\";}}";
PhpDecoder decoder = PhpDecoder.newInstance(body);
JSONArray ret = decoder.decode();

Serialize

waiting

Versions

Version
1.0.0