The p≡p JSON Server Adapter provides a REST-like jQuery-compatible API to connect with
the p≡p engine. It is language-independent and can be used by any client.
The p≡p JSON Server Adapter provides a REST-like jQuery-compatible API to
connect with the p≡p engine. It is language-independent and can be used by
any client.
## Getting started - build and run
In order to use the p≡p JSON Server Adapter, you need to build and run it. Currently, Linux and OSX/macOS are supported, Windows is about to follow.
In order to use the p≡p JSON Server Adapter, you need to build and run it.
Currently, Linux and OSX/macOS are supported, Windows is about to follow.
### Building on Linux
The p≡p JSON Server Adapter can be build on Debian and Ubuntu. Other flavors may work, but are not officially supported.
The p≡p JSON Server Adapter can be build on Debian and Ubuntu. Other
distributions should work, but are not officially supported.
#### System requirements
@ -46,7 +49,8 @@ The p≡p JSON Server Adapter can be build on OS X or macOS with MacPorts.
#### Preconditions
For compiling the p≡p JSON Server Adapter and its dependencies, make sure you have the LANG variable set.
For compiling the p≡p JSON Server Adapter and its dependencies, make sure
you have the LANG variable set.
```
export LANG=en_US.UTF-8
@ -54,12 +58,15 @@ export LANG=en_US.UTF-8
#### Dependencies
The following dependencies need to be installed in order to be able to build the p≡p JSON Server Adapter.
The following dependencies need to be installed in order to be able to build
the p≡p JSON Server Adapter.
##### MacPorts
[Install MacPorts](https://www.macports.org/install.php) for your version of OS X/macOS.
If MacPorts is already installed on your machine, but was installed by a different user, make sure your `PATH` variable is set as follows in `~/.profile`:
If MacPorts is already installed on your machine, but was installed by a
different user, make sure your `PATH` variable is set as follows in
All C data types are mapped the same way, so some day the JSON wrapper can be generated from the p≡p Engine header files (or the JSON wrapper and the p≡p engine header are both generated from a common interface description file)
All C data types are mapped the same way, so some day the JSON wrapper can
be generated from the p≡p Engine header files (or the JSON wrapper and the
p≡p engine header are both generated from a common interface description