16 votes


XSLToJSON gives you a handy C# XSLT Extension which will accept a snippet of XML and convert it into JSON data for you from within your XSLT as a string. Perfect for creating alternative data representations of your XML for use with AJAX or server-side javascript.

Included in the package:

* XSLT extension DLL
* James Newton-King's Json.NET DLL (for your own custom JSON needs)
* JSON alternative template to turn any of your pages in the JSON instantly
* toJSON macro used in the above template
* Auto wiring up of the extension into any new XSLT files you create

Yet another of our many best practise tools for helping developers make better websites, check out our other packages including DocTypeMixins, XSLTouch and our Asset Compressor.


Package owner

Peter Duncanson

Peter Duncanson

Peter has 1360 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
Version 8.18.x (untested)

You must login before you can report on package compatibility.

Previously reported to work on versions:

Package Information

  • Package owner: Peter Duncanson
  • Created: 26/05/2010
  • Current version 1.0
  • License MIT
  • Downloads on Our: 2K

External resources