From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.help Subject: Re: How to test for native JSON support? Date: Tue, 4 May 2021 01:39:05 +0300 Message-ID: <9f8a3dbe-e650-f555-892a-996a829ae6a0@yandex.ru> References: <87k0ohuybx.fsf@fastmail.fm> <785b4132-da32-0da8-519d-b39a58270f32@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27683"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 To: Nikolay Kudryavtsev , Joost Kremers , gnu-emacs-help@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 04 00:44:41 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ldhIu-000757-WC for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 04 May 2021 00:44:41 +0200 Original-Received: from localhost ([::1]:37582 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldhIu-0002FN-01 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 03 May 2021 18:44:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56860) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldhDd-0005FC-BP for help-gnu-emacs@gnu.org; Mon, 03 May 2021 18:39:14 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36230) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldhDd-0004ax-3L for help-gnu-emacs@gnu.org; Mon, 03 May 2021 18:39:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50694) by fencepost.gnu.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ldhDc-0007SJ-SH for gnu-emacs-help@gnu.org; Mon, 03 May 2021 18:39:12 -0400 Original-Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:41865) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldhDb-0004Yd-6b for gnu-emacs-help@gnu.org; Mon, 03 May 2021 18:39:12 -0400 Original-Received: by mail-wr1-x42a.google.com with SMTP id d11so7224033wrw.8 for ; Mon, 03 May 2021 15:39:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=7L0xrnqy2za7eWhxq24RA1qMxQ0Bz68lUKaxJdbfYWk=; b=o9XmR04uKfQGb8oJF5BhI9qyGF4jPD0259i7Y9UquVj0yQwuo4TYcTGd4y8KSOt6qg s66TZYpAOfDiAGiDINFZQ0m99m2/bg/PdkgwvwfrODb/SnYbtbB67fF6qQMkHpHVN8RC twS+eAgO/S1it9BdnBLdGKpNUeMoopFtfo1bGVrPX5zD2Rg9OdbeAcfGawSdL0H5mBO5 ivZivyYNXtHSngUsvb/qJ1SA5RyPetgAZ4z9/EP8PHwAfyRQnvosa7UuovOwMpNexJXp X0htkHsWi1OgcLyxNYK7y9/LVE3aoJAaH/xr1k8fXRgb+ZkSCX6pnUU0JfjLUzqDB9Zj koAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=7L0xrnqy2za7eWhxq24RA1qMxQ0Bz68lUKaxJdbfYWk=; b=VEn8y76O1nznfmQCqF7uCD8L6YEZuMvIVHuqrUbuyPGsISi2VUZ9ckeqh+1OCqPRsC 8N7KUF1zpGsbqSEdsFHttR28kYlcOZ6eGPHHccpSxjNGXdBsyJnbkshF+QbSqVbMAf4Z c3B2aIz14sCooTVb30By0EnpQF9zj/sbvQaFT1MQvbmL5EJLsyO8kwVcm9LfzDpkNpxd rFJ6RnaxOAm3r+KP1BSt64JpgBBjB3pZjoS2QNo/sUio6B2/ckZD0OL8HDqOoymgrHxN fPIEeZDwo7XsPbnw8nyuo1YFr17YaC/mlSEBKQQZvmTr4ufvIgt2meatblrBbceUbGSr hh8g== X-Gm-Message-State: AOAM533Khf+6zzJE/EA/m3NYYUPrCjEy03SihCiBQ0+IvcaDo1T2GYsO /QxZFUqS97gfb8EsZwNZHFlanaNIjCE= X-Google-Smtp-Source: ABdhPJwYx09Dm2ZzcZ7cEns/+r74Zki5Cp/y2At9PgkAymFkTqb3Sn8TkmrO+9ykDA74YjDTRWQDyw== X-Received: by 2002:adf:f241:: with SMTP id b1mr24178214wrp.150.1620081548897; Mon, 03 May 2021 15:39:08 -0700 (PDT) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id r7sm848093wmq.18.2021.05.03.15.39.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 03 May 2021 15:39:07 -0700 (PDT) In-Reply-To: Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=raaahh@gmail.com; helo=mail-wr1-x42a.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:129390 Archived-At: On 04.05.2021 01:33, Nikolay Kudryavtsev wrote: > json-serialize would return nil if libjansson library is not available > during the execution time. So the scenario would be someone building > Emacs with json support, then forgetting to put libjansson on his path > and/or moving the binary to another machine. Not very likely to happen > on any POSIX systems, but a more or less tangible case on Windows. Windows-only, then. That makes sense. Thanks for the reply.