d365stuff-chat / posts /formjsonserializer.md
mafzaal's picture
Sure! Pl
9ed2c7f
---
title: FormJsonSerializer
date: 2018-11-09T18:24:53.000Z
lastmod: 2018-11-09T18:24:53.000Z
description: The FormJsonSerializer class is the one true JSON serializer in D365.  The
static serializeClass() method is the simplest to implement, and can handle the
most complex of contracts.  If you want to get wild, set a breakpoint and load
D365 in a new browser tab.
What's the competition?
You could write your own class and reinvent the wheel.
You could be like the retail team and use the RetailTransactionServiceJsonHelper
class but it's fussier.
You could stop here and just use FormJsonSerializer
tags: x++, D365, Serialization, Data contracts, JSON
author: Michael Stashwick
author_url: https://www.d365stuff.co/author/michael/
publisher: D365 Stuff
publisher_url: https://www.d365stuff.co/
---
9 November 2018 / [x++](/tag/x/)
# FormJsonSerializer
The FormJsonSerializer class is the one true JSON serializer in D365. The
static serializeClass() method is the simplest to implement, and can handle
the most complex of contracts. If you want to get wild, set a breakpoint and
load D365 in a new browser tab.
What's the competition?
You could write your own class and reinvent the wheel.
You could be like the retail team and use the
RetailTransactionServiceJsonHelper class but it's fussier.
You could stop here and just use FormJsonSerializer.
![Michael Stashwick](/content/images/size/w100/2019/07/FacePic.jpg)
#### [Michael Stashwick](/author/michael/)
Read [more posts](/author/michael/) by this author.
[Read More](/author/michael/)