# RC3 removes the JSON load() method from CLI-generated Providers

**URL:** <https://forum.ionicframework.com/t/rc3-removes-the-json-load-method-from-cli-generated-providers/72127>\
**Category:** ionic-v3\
**Created:** [December 3, 2016, 3:33am UTC](https://forum.ionicframework.com/t/rc3-removes-the-json-load-method-from-cli-generated-providers/72127 "2016-12-03T03:33:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rapropos](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rapropos/32/100227_2.png) [@rapropos](https://forum.ionicframework.com/u/rapropos)\
**Post date:** [December 3, 2016, 4:01am UTC](https://forum.ionicframework.com/t/rc3-removes-the-json-load-method-from-cli-generated-providers/72127/2 "2016-12-03T04:01:35Z")

</div>

I really really hope not. That code is dreadful. It makes a [ghost promise](http://taoofcode.net/promise-anti-patterns/), uses [the explicit promise construction antipattern](https://github.com/petkaantonov/bluebird/wiki/Promise-anti-patterns), doesn’t propagate errors correctly, and shouldn’t even be using promises in the first place. Http gives you a perfectly good Observable, simply use that.

And it also perpetuates overuse of `any`.

---

_[View the full topic](https://forum.ionicframework.com/t/rc3-removes-the-json-load-method-from-cli-generated-providers/72127)._
