invokeJson
이 콘텐츠는 아직 번역되지 않았습니다.
Module @netwiv/api/core · Kind Function
import { invokeJson } from '@netwiv/api/core';Invoke a command using JSON text without converting its numbers to JavaScript numbers. Arguments must encode an object; the result is JSON text. Used by the generated Blazor client. Binary responses are not supported. Parsing the returned text with JSON.parse restores JavaScript’s number limits.
Signature
Section titled “Signature”function invokeJson(cmd: string, args?: string, options?: InvokeOptions | undefined): Promise<string>Descriptions come from the pinned @tauri-apps/api@2.11.1 declarations (MIT OR Apache-2.0); imports are shown with @netwiv/api paths.