# Http streaming JSON

**URL:** <https://discourse.elm-lang.org/t/http-streaming-json/7939>\
**Category:** Learn\
**Created:** [November 24, 2021, 5:24pm UTC](https://discourse.elm-lang.org/t/http-streaming-json/7939 "2021-11-24T17:24:32Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![hasko](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/hasko/32/4061_2.png) [@hasko](https://discourse.elm-lang.org/u/hasko)\
**Post date:** [November 24, 2021, 5:24pm UTC](https://discourse.elm-lang.org/t/http-streaming-json/7939/1 "2021-11-24T17:24:32Z")

</div>

So, I have a backend (Python flask) that traverses a large graph to create the transitive hull starting from a specific node, i.e. all reachable nodes from that node. It then wraps the result in Json and sends it off to an Elm front end.

Now I’m thinking to use flask’s streaming pattern to send parts of the list of nodes already while it’s being discovered, to provide early feedback to the user.

Is there a way to partially decode Json in Elm and treat it as a stream, e.g. through a subscription?

---

_[View the full topic](https://discourse.elm-lang.org/t/http-streaming-json/7939)._
