Convert Erlang files to JSON

Lezárva Kiadva: 2 évvel ezelőtt Kiszállításkor fizetve
Lezárva Kiszállításkor fizetve

NOTE: I am only interested in solutions that use Erlang (or Elixir) to parse these files! I am not interested in solutions that use Perl or Awk or Python or Regex. I am only interested in solutions that use Erlang.

I have 80,000+ "[login to view URL]" files. They appear to be written in some kind of Erlang data serialization format. I need a tool to convert them into JSON.

The attached "[login to view URL]" file is one of the files I need to parse.

Whereas the attached "[login to view URL]" file is how I need the original file to be transformed. Unfortunately I created this particular "[login to view URL]" by hand - I need a tool to do it automatically!

Here's a sample file (but its formatting is messed up - please download the attached file for the correct formatting).

{<<"app">>,<<"cloudex">>}.

{<<"build_tools">>,[<<"mix">>]}.

{<<"description">>,

<<"A library that helps with uploading image files and urls to cloudinary. Also provides an helper to generate transformations and cloudinary urls pointing to your images">>}.

{<<"elixir">>,<<"~> 1.4">>}.

{<<"files">>,

[<<"lib/[login to view URL]">>,<<"lib/cloudex/[login to view URL]">>,

<<"lib/cloudex/cloudinary_api/[login to view URL]">>,

<<"lib/cloudex/cloudinary_api/[login to view URL]">>,<<"lib/cloudex/[login to view URL]">>,

<<"lib/cloudex/[login to view URL]">>,<<"lib/cloudex/[login to view URL]">>,

<<"lib/cloudex/[login to view URL]">>,<<"lib/cloudex/[login to view URL]">>,<<"[login to view URL]">>,

<<"[login to view URL]">>,<<"LICENSE">>,<<"[login to view URL]">>]}.

{<<"licenses">>,[<<"WTFPL">>]}.

{<<"links">>,

[{<<"Docs">>,<<"[login to view URL]">>},

{<<"GitHub">>,<<"[login to view URL]">>}]}.

{<<"maintainers">>,[<<"Gerard de Brieder">>]}.

{<<"name">>,<<"cloudex">>}.

{<<"requirements">>,

[[{<<"app">>,<<"httpoison">>},

{<<"name">>,<<"httpoison">>},

{<<"optional">>,false},

{<<"requirement">>,<<"~> 0.11.0">>}],

[{<<"app">>,<<"poison">>},

{<<"name">>,<<"poison">>},

{<<"optional">>,false},

{<<"requirement">>,<<"~> 3.1.0">>}],

[{<<"app">>,<<"timex">>},

{<<"name">>,<<"timex">>},

{<<"optional">>,false},

{<<"requirement">>,<<"~> 3.1.7">>}],

[{<<"app">>,<<"tzdata">>},

{<<"name">>,<<"tzdata">>},

{<<"optional">>,false},

{<<"requirement">>,<<"~> 0.5.11">>}]]}.

{<<"version">>,<<"0.1.20">>}.

Erlang Elixir JSON

Projektazonosító: #31602622

A projektről

5 ajánlat Távolról teljesíthető projekt Utoljára aktív: 2 évvel ezelőtt

5 szabadúszó tett átlagosan 138$ összegű árajánlatot erre a munkára

pguru2000

Dear client. I checked your config file carefully. I can make a small python script to convert it to json. Please ping me, I am sure I will provide the perfect result. Regards.

$100 USD 1 napon belül
(4 vélemény)
3.1
DoanDucAnh

Hello, how are you? how is it going well there now? I've checked your project description with carefully. I have already worked on this type project and delivered successfully. I am ready to discuss with you about furt Továbbiak

$100 USD 1 napon belül
(0 vélemény)
0.0