mgirlich/jsontools

Better printing

Closed this issue · 0 comments

  • maybe use justify = "none"?
  • if not using justify = "none" maybe right align instead of left?

justify = "none" doesn't work with quote = FALSE in print()

x <- c('{"def": 1, "abc": 2}', '{"def": 2}', '[2, 1, 3]')
json2(x)
> <json2[3]>
> [1] {"abc":2,"def":1} {"def":2}         [2,1,3]