New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

com.github.ooxi:serialized-php-parser

Package Overview
Dependencies
Maintainers
3
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

com.github.ooxi:serialized-php-parser

Serialized PHP Parser project

Source
mavenMaven Central
Version
0.5.0
Version published
Maintainers
3
Source

serialized-php-parser Build Status

Simple MIT licensed Java library to access data serialized by PHP.

Usage

serialized-php-parser is published in the central Maven repository and can be included using the following dependency information:

<dependency>
	<groupId>com.github.ooxi</groupId>
	<artifactId>serialized-php-parser</artifactId>
	<version>0.5.0</version>
</dependency>

Deserializing data is as simple as

String data = "O:8:\"TypeName\":1:{s:3:\"foo\";s:3:\"bar\";}";
SerializedPhpParser phparser = new SerializedPhpParser(data);
PhpObject result = (PhpObject)phparser.parse();

System.out.println(result.attributes.get("foo"));

Origin

This is a fork from Google Code Serialized Php Parser, based on the work of Michele Catalano.

FAQs

Package last updated on 04 Mar 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts