Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to convert the xml to json? #1

Closed
rgbweb opened this issue Nov 11, 2013 · 5 comments
Closed

How to convert the xml to json? #1

rgbweb opened this issue Nov 11, 2013 · 5 comments

Comments

@rgbweb
Copy link

rgbweb commented Nov 11, 2013

Hi, I like your idea of converting the fork to C# and I was really happy to find this. It is just what I need in my .NET application.

Unfortunately I have no idea how to do the Step 2 of the "Installation" section in the readme file. I installed it using the package manager like you explained. - By the way there is no $-sign in this console. The line in Step 1 should be "PM> Install-Package GlobalPhone"

Can you give me a hint? Watching at the original Ruby project does not help me because I does not know anything about Ruby.

Thanks.

@wallymathieu
Copy link
Member

Hi!

Right now the only way to download the json file is through the ruby project. Unfortunately when I tried using the gem, it was out of date. I got the ruby project from source and executed ruby ./bin/global_phone_dbgen. Gem is the package manager used by ruby. I'm going to port the global_phone_dbgen when I have some spare time.

If you are using windows. Install ruby with http://rubyinstaller.org/ and make sure that the ruby installation is in your path.

Usually, ruby projects use gemfiles usable by a gem (a project) that's called bundler (http://bundler.io/).

If you like, change the documentation in a pull request ;-)

@wallymathieu
Copy link
Member

I've created a port of the ruby version. I'm looking into how to deploy it to nuget. If you are impatient you can download the source and use the exe generated in GlobalPhoneDbgen project

@wallymathieu
Copy link
Member

I've added the package to nuget.

@rgbweb
Copy link
Author

rgbweb commented Nov 26, 2013

Just wanted to thank you for your extra work. Unfortunately I hadn't the time to try it until today. Now I downloaded it via nuget and it works like a charm.
Thank you.

@wallymathieu
Copy link
Member

You're welcome :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants