//Directory attributes
:stories: ../../stories
:topics: ../topics
:imagesdir: ../{topics}/images

//Community doc attributes
include::../{topics}/attributes/community-attributes.adoc[]

//Community title attributes
:toc2:
:icons: font
:toclevels: 3
:numbered:
:sectanchors:
:stem: asciimath
:context: encoding

//Title
= Encoding Infinispan caches and marshalling data

Remote and embedded caches can store keys and values in different encodings, or media types.
Infinispan also includes an implementation of the ProtoStream API to marshall Java objects as Protocol Buffers (Protobuf).

//User stories
include::stories.adoc[]
