# Export TIR to json

**URL:** <https://discuss.tvm.apache.org/t/export-tir-to-json/12329>\
**Category:** RFC\
**Created:** [March 16, 2022, 2:03pm UTC](https://discuss.tvm.apache.org/t/export-tir-to-json/12329 "2022-03-16T14:03:16Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Hzfengsy](https://discuss.tvm.apache.org/user_avatar/discuss.tvm.apache.org/hzfengsy/32/2961_2.png) [@Hzfengsy](https://discuss.tvm.apache.org/u/Hzfengsy)\
**Post date:** [March 16, 2022, 2:25pm UTC](https://discuss.tvm.apache.org/t/export-tir-to-json/12329/2 "2022-03-16T14:25:28Z")

</div>

Thanks, @SebastianBoblestETAS. I agree that json is a great format for serializing, but I have a few questions:

1. What are the pros and cons of json format compared with TVMScript (if we have python env)

2. How to design a json format to store all TIR information for all possible nodes? Do you have examples to show it?

---

_[View the full topic](https://discuss.tvm.apache.org/t/export-tir-to-json/12329)._
