# \PG\MSF\PackJsonPack

Class JsonPack

## Summary

Methods
Properties
Constants
pack()
unPack()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

File
  Pack/JsonPack.php
Package
  MSF\Pack
Class hierarchy
  \PG\MSF\Pack\JsonPack
Implements
  \PG\MSF\Pack\IPack

## Tags

None found

## Methods

### pack()

    pack(mixed  $data) : string

JSON打包

#### Parameters

mixed | $data | 待打包数据

#### Returns

string

#

## Tags

None found

### unPack()

    unPack(string  $data) : mixed

JSON解包

#### Parameters

string | $data | 待解包数据

#### Throws

\Exception

#### Returns

mixed

#

## Tags

None found

### JsonPack.php