[wp-trac] [WordPress Trac] #61170: Interactivity API: Improve JSON store serialization

WordPress Trac noreply at wordpress.org
Wed May 8 12:06:32 UTC 2024


#61170: Interactivity API: Improve JSON store serialization
-------------------------------------+-----------------------------
 Reporter:  jonsurrell               |      Owner:  jonsurrell
     Type:  enhancement              |     Status:  assigned
 Priority:  normal                   |  Milestone:  Awaiting Review
Component:  Interactivity API        |    Version:  6.5
 Severity:  normal                   |   Keywords:
  Focuses:  javascript, performance  |
-------------------------------------+-----------------------------
 The Interactivity API serializes JSON data into a `<script
 type="application/json">` tag.

 @bjorsch noticed some potential improvements to the serialization in
 [https://github.com/WordPress/wordpress-
 develop/pull/6433#pullrequestreview-2043218338 this PR review].

 Improving the JSON serialization may make the result more readable and
 decrease the serialized size.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61170>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list