Skip to content

issues Search Results · repo:jeroen/jsonlite language:C

Filter by

368 results
 (51 ms)

368 results

injeroen/jsonlite (press backspace or delete to remove)

I d like to be able to pass \t as the indent_string to prettify() (as downstream files are diffed and the upstream -- which I can t control -- uses tabs). Could we add indent_string as an optional argument ...
  • mmuurr
  • 3
  • Opened 
    11 days ago
  • #448

The columns get shuffled due to the NA s names(penguins_raw) names(fromJSON(toJSON(penguins_raw)))
  • jeroen
  • Opened 
    11 days ago
  • #447

https://github.com/jeroen/jsonlite/blob/86f481d34eb4e7893e32a88608ce220421f59c41/src/num_to_char.c#L34-L52 There is no way to set differently when there are both NA and Inf here and na is set to some ...
  • dipterix
  • 2
  • Opened 
    on Jan 31
  • #445

Is there any ability to do de-jsonification on something in memory that is not an R string? I m thinking on this point: https://github.com/richfitz/redux/issues/60 A partner-company I work with is going ...
  • r2evans
  • 7
  • Opened 
    on Oct 9, 2024
  • #444

The default parameter digits=4 can cause quite unexpected behaviour. In the following example, we lose 2e-5, which is made zero, while both the larger and smaller numbers stay intact. jsonlite::toJSON( ...
  • simon-anders
  • Opened 
    on Sep 7, 2024
  • #443

Consider this code: dt - Sys.time() dtl - fromJSON(toJSON(unbox(dt),POSIXt= mongo ),FALSE) Returns a list with a name $date and a big integer. This can be fixed with: as.POSIXct(dtl$ $date /1000,origin= ...
  • ralmond
  • 2
  • Opened 
    on May 25, 2024
  • #440

First of all, thank you so much for the excellent jsonlite-package. I often deal with JSON-objects as large strings from databases such as this minimal example: example - data.frame( foo = c( bar ...
  • thohan88
  • 2
  • Opened 
    on May 24, 2024
  • #439

The fromJSON() function takes care to treat 1 as an integer and 1.0 as a double, which is great. However, it seems that toJSON() does not make this distinction. This means that a double 1.0 gets converted ...
  • torfason
  • 5
  • Opened 
    on Mar 21, 2024
  • #437

Hello, I would like to read the content of a JSON file that is formatted either in array mode ([{ id : 79f4b5801 , owner : { id : 251, name : titi toto }}] ) or in JSON mode without the [] ({ id : 79f4b5801 ...
  • berthetclement
  • Opened 
    on Feb 23, 2024
  • #436

Are you expecting this? It s platform-specific, this is for the M1, Linux is different IIRC. jsonlite::toJSON(-0x0p+0) # [-0] -0x0p+0 == 0 # [1] TRUE sup Created on 2024-02-03 with reprex v2.1.0 /sup ...
  • krlmlr
  • 2
  • Opened 
    on Feb 3, 2024
  • #435
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub