youneselbarnoussi/nova-json is a Laravel package for json laravel nova field..
It currently has 0 GitHub stars and 10 downloads on Packagist (latest version 1.0.6).
Install it with composer require youneselbarnoussi/nova-json.
Discover more Laravel packages by youneselbarnoussi
or browse all Laravel packages to compare alternatives.
Last updated
This field allows you to group together Nova Fields and merge their key => value pairs into unique JSON.

Run this command in your nova project:
composer require youneselbarnoussi/nova-fields
Create a new Json field passing an array of Nova Fields as second param
use Barnoussi\NovaFields\JSON;
JSON::make('Content', [
Text::make('Name'),
Boolean::make('Active'),
Textarea::make('Description'),
]),
Attribute name can be passed as third param
use Barnoussi\NovaFields\JSON;
JSON::make('Content', [
Text::make('Name'),
Boolean::make('Active'),
Textarea::make('Description'),
], 'content_json'),
This converts to
{ "name": "Jane", "active": true, "description": "My Description" }
and is stored in the content_json field.
In this example ensure that the content_json field is being set to cast to object on the underlying model instance.