---
name: "Lemonldap::NG::Common::Apache::Session::Serialize::JSON"
section: "3pm"
platform: "linux"
package: "liblemonldap-ng-common-perl"
version: "2.21.2+ds-1+deb13u3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Lemonldap::NG::Common::Apache::Session::Serialize::JSON"
---

# Lemonldap::NG::Common::Apache::Session::Serialize::JSON(3pm)

Use JSON to zip up data

## NAME

Lemonldap::NG::Common::Apache::Session::Serialize::JSON - Use JSON to zip up data

## SYNOPSIS

```
 use Lemonldap::NG::Common::Apache::Session::Serialize::JSON;
 $zipped = Lemonldap::NG::Common::Apache::Session::Serialize::JSON::serialize($ref);
 $ref = Lemonldap::NG::Common::Apache::Session::Serialize::JSON::unserialize($zipped);
```

## DESCRIPTION

This module fulfills the serialization interface of Apache::Session. It serializes the data in the session object by use of JSON `"to_json"` and `"from_json"`. The serialized data is UTF-8 text.

## SEE ALSO

JSON, Apache::Session

## AUTHORS

- Clement Oudot, \<clem.oudot@gmail.com\>

  - François-Xavier Deltombe, \<fxdeltombe@gmail.com.\>

  - Xavier Guimard, \<x.guimard@free.fr\>

  - Thomas Chemineau, \<thomas.chemineau@gmail.com\>

  ## BUG REPORT

Use OW2 system to report bug or ask for features: \<https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/issues\>

## DOWNLOAD

Lemonldap::NG is available at \<https://lemonldap-ng.org/download\>

## COPYRIGHT AND LICENSE

- Copyright (C) 2015-2016 by Clément Oudot, \<clem.oudot@gmail.com\>

  - Copyright (C) 2015-2016 by Xavier Guimard, \<x.guimard@free.fr\>

  This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program.  If not, see \<http://www.gnu.org/licenses/\>.
