wingyplus

wingyplus

Json_formatter - A JSON code formatter for mix format

I created a package called json_formatter. It’s integrated with mix format plugin to format JSON file and ~J (Thanks to jason version 1.3). The library is now published on hex.pm (json_formatter | Hex). :slight_smile:

If you have some idea on improvement or found a bug. Feel free to create an issue on the repo

Thanks!

First Post!

eksperimental

eksperimental

Thanks.
I think the name is bit misleading as the package is not a JSON formatter itself but a wrapper. It would mention the word “task” in the name.

Maybe json_formatter_task.

Most Liked

wingyplus

wingyplus

In my opinion, the word plugin would suitable for this case. Like the surface_formatter library use the word Plugin in the module that extended behavior from Mix.Tasks.Format also. :slight_smile:

Or maybe we just change the plugin module to JsonFormatter.Plugin to represents a plugin for mix format and keep the library name as it’s.

Where Next?

Popular in Announcing Top

Crowdhailer
Experimenting with this code. OK.try do user <- fetch_user(1) cart <- fetch_cart(1) order = checkout(cart, user) save_orde...
New
grych
Hi folks, Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
639 54260 488
New
handnot2
Samly can be used to enable SAML 2.0 Single Sign On in a Plug/Phoenix application. This library uses Erlang esaml to provide plug enabl...
New
anshuman23
Hello all, I have been working on my proposed project called Tensorflex as part of Google Summer of Code 2018.. Tensorflex can be used f...
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 44265 214
New
mathieuprog
Hello :waving_hand: Allow me to introduce you to Tz, an alternative time zone database support to Tzdata. Why another library? First a...
New
kevinlang
Hey all, We have made an Ecto3 Adapter for SQLite3, ecto_sqlite3! We have successfully on-boarded the full suite of integration tests (...
New

Other popular topics Top

vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
New
hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
romenigld
I am trying to run a deploy with docker and I successfully runned with this command: docker build -t romenigld/blog-prod . but when I t...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New

We're in Beta

About us Mission Statement