From nobody Sat Jan 13 20:17:51 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TC8pl4yl3z56ZfR for ; Sat, 13 Jan 2024 20:17:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TC8pl2cH0z4HKV for ; Sat, 13 Jan 2024 20:17:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705177071; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8WbcAQmmbO/3oQg8D2F9yWnDGnCIYz9EhvJ4RT7EN3w=; b=bvsl9476GJKnAyLYfZjRPw9R3qA3DsO+09Hcly2z9Ax0wB4I+E81sL9p/dk2aLkUJn41Sy w/n93+iOtAUvOtgGQgWeWbVMM0ZGmsMuFK/lXR2pUTxspC8hugo+Dn7l/XQevf2BGC5N+A 8zhPvSix0ptNm5Kd9/UxahlYuy5yyERohuUXqDUpywJeqf4gHh21V7DDnY+I0JcVNl/Ug8 +Wc2X3uCG8/Zw4YPGvDiWLsAvq6+QIn/RT3ZioZJXtjbJ4YU1S0o5nU71Y87YfMEGb+ZwV Znp03qeIjfF+vNTTR8CgNzYss3OPPZcNjiIkCsbsXnqkMb15AxEqzGuKy8NCXA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705177071; a=rsa-sha256; cv=none; b=iSdkS6qp0gWKiG0kgQVV9cZU4RAwi+b/RJ2+579/eJCASq4XOE366GQQu9nEJoQ+D04fvo zXMCQrflkpiU94nTKklyTT52hEFu0qWQ1Td4kOUZSg6IuI8uaj1bBUvLPPTHXS5N34t7Bd G//T5xl1e/6yFLANRez7eHZ8SOCpoabTizfxhnAjFEcqOu6dwLee4F4luX9rXSNJFL0QbQ ZSv8yIanrKkpB0X+DpHDuw4HJnQigXLsTTqiiKjv4i1oQSYXnqs5LwW5RfZWQjgVaqR7YZ q7Go7elUK0ZTHzN/dRuXUARLLBn4kBR0NmMmlv3IBpaTwvQYnh4Rmkztlh/ZPg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TC8pl1gLMzkmv for ; Sat, 13 Jan 2024 20:17:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 40DKHpgM015758 for ; Sat, 13 Jan 2024 20:17:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40DKHppt015757 for bugs@FreeBSD.org; Sat, 13 Jan 2024 20:17:51 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 265223] libxo json output for ps uses strings for numeric properties Date: Sat, 13 Jan 2024 20:17:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: vedran@miletic.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265223 Vedran Miletic changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vedran@miletic.net --- Comment #1 from Vedran Miletic --- FWIW, df outputs numbers without decimals. When decimals (and units) are us= ed (e.g. df -h), df will also (reasonably) use strings instead of numbers. Finally, one should be careful with decimal values since the decimal separa= tor is locale-dependant and can cause libxo to produce invalid JSON (I observed this on w(1) and Croatian locale, bug 276304). --=20 You are receiving this mail because: You are the assignee for the bug.=