[Bug 265223] libxo json output for ps uses strings for numeric properties
Date: Sat, 13 Jan 2024 20:17:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265223 Vedran Miletic <vedran@miletic.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vedran@miletic.net --- Comment #1 from Vedran Miletic <vedran@miletic.net> --- FWIW, df outputs numbers without decimals. When decimals (and units) are used (e.g. df -h), df will also (reasonably) use strings instead of numbers. Finally, one should be careful with decimal values since the decimal separator is locale-dependant and can cause libxo to produce invalid JSON (I observed this on w(1) and Croatian locale, bug 276304). -- You are receiving this mail because: You are the assignee for the bug.