UNPKG

@siren-js/client

Version:
9 lines (8 loc) 349 B
import { Field } from '../models'; import { SerializeFn } from './serialize-fn'; /** * Builds and stringifies a JSON object from the given `fields`' `name` and * `value`. If the `value` is a [`File`](https://developer.mozilla.org/en-US/docs/Web/API/File), * its `name` is used. */ export declare const serializeJson: SerializeFn<Field, string>;