Skip to content

Add JsonLd::addValues() #163

@klimov-paul

Description

@klimov-paul

Working with JSON Linked Data usually means specification of the batch options.
For example:

{
   "@type": "Organization",
   "'address" : {
        "@type": "PostalAddress",
        "addressLocality" : "USA, CA",
        "postalCode": "12345",
        "streetAddress": "2nd ave, 17",
    },
    "email": "organization@example.com"
}

Creation of such JSON at the present state requires multiple invocations of JsonLd::addValue().
It is better to create a shortcut for adding batch of values at once - JsonLd::addValues()

Q A
This Package Version 0.15.0
Laravel Framework Version 5.8.31
PHP version 7.2
Operating system *

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions