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

json output #24

Merged
merged 3 commits into from
Dec 10, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
cleanup
  • Loading branch information
dogweather committed Dec 10, 2023
commit 71d6735e62f8a42017a372b6ee2232186736a01a
4 changes: 2 additions & 2 deletions retrieve.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#

IO.puts CodeGen.ruby_code(url)
IO.puts "\n\n"

# Output JSON
News.Article.parse(url) |> Jason.encode!(pretty: true) |> IO.puts()
# IO.puts "\n\n"
# News.Article.parse(url) |> Jason.encode!(pretty: true) |> IO.puts()