Skip to content

GO module to parse php serialised obj and help to convert to json.

Notifications You must be signed in to change notification settings

Wuvist/gophpserialize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0797be7 · Apr 12, 2021

History

24 Commits
May 14, 2013
Sep 19, 2013
Apr 12, 2021
Jul 18, 2014
Apr 12, 2021

Repository files navigation

gophpserialize

GO module to parse php serialised obj and help to convert to json.

Currently only support unserialze php array.

Example

import (
	"github.com/Wuvist/gophpserialize"
)

func main() {
	data := `a:3:{s:5:"apple";i:1;s:6:"orange";i:2;s:5:"grape";i:3;}`
	obj := gophpserialize.Unmarshal([]byte(data))
	...
}

Need more test case & review on API.

About

GO module to parse php serialised obj and help to convert to json.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages