BizTalk Server 2020 – 20 days, 20 posts – day 17. I have to confess I haven’t tried the default JSON Encoder yet, but I trust this component is still useful in this new release, so today we are migrating the custom JSON Encoder component available in the BizTalk Pipeline Components Extensions UtilityPack project: JSON Encoder Pipeline Component.
📝 One-Minute Brief
Introduces the JSON Encoder Pipeline Component for BizTalk Server 2020, a custom send‑pipeline component that converts XML messages into JSON while allowing teams to choose between the default BizTalk behavior and a custom encoding implementation.
Carry SOAPHeader To WCF-BasicHttp Pipeline Component
This custom JSON Encoder Pipeline Component is a pipeline component for BizTalk Server that can be used in a Send Pipeline (Encode stage) to encode any XML message into a JSON equivalent in a simple, effective way. It is also 100% compatible with Microsoft’s default JSON Encoder component.

This component will allow you to choose between using the default pipeline component provided by Microsoft, at least the internal behavior, because I built this pipeline component as an extension of the default JSON Encoder pipeline component, or use the custom behavior that I created. So, from the BizTalk Administration console, you will be able to decide if:
- You want to use the behavior of the default JSON Encoder pipeline component provided by
Microsoft by setting the UseCustomEncoder property to False.

- Or use the custom behavior to generate the JSON message by setting the UseCustomEncoder property to True;
To use this pipeline component in your projects, you just copy the CustomJSONEncoder.dll file into the Pipeline Components folder that exists in the BizTalk Server installation directory:
- ..\Program Files (x86)\Microsoft BizTalk Server\Pipeline Components;
on every server.
You do not need to add this custom pipeline component to be used by the BizTalk Runtime to the Global Assembly Cache (GAC).
What is BizTalk Pipeline Components Extensions Utility Pack?
BizTalk Pipeline Components Extensions Utility Pack provides a collection of custom pipeline components that developers can use in receive and send pipelines. These components extend BizTalk Server’s out‑of‑the‑box pipeline capabilities.
The project lives in the BizTalk Server Open Source Community repository on GitHub (https://github.com/BizTalkCommunity). Moreover, anyone can contribute new pipeline components or enhance existing ones to further improve BizTalk Server capabilities.

At the moment, this project is available for:
- BizTalk Server 2020;
- BizTalk Server 2016;
- BizTalk Server 2010;
- BizTalk Server 2006-2009
Download
You can download BizTalk Pipeline Components Extensions Utility Pack from GitHub:
Hope you find this helpful! If you liked the content or found it useful and would like to support me in writing more, consider buying (or helping to buy) a Star Wars Lego set for my son.
1 thought on “BizTalk Server 2020 – 20 days, 20 posts: JSON Encoder Pipeline Component for BizTalk Server 2020”