mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-19 01:27:51 -05:00
25 lines
517 B
ActionScript
25 lines
517 B
ActionScript
package com.adobe.serialization.json
|
|
{
|
|
public class JSON
|
|
{
|
|
|
|
public function JSON()
|
|
{
|
|
super();
|
|
}
|
|
|
|
public static function encode(param1:Object) : String
|
|
{
|
|
var _loc2_:JSONEncoder = new JSONEncoder(param1);
|
|
return _loc2_.getString();
|
|
}
|
|
|
|
public static function decode(param1:String) : *
|
|
{
|
|
var _loc2_:JSONDecoder = new JSONDecoder(param1);
|
|
return _loc2_.getValue();
|
|
}
|
|
}
|
|
}
|
|
|