Prototype - JSON Literals
In this video I demonstrate a prototype that extends the VB.NET language with support for JSON literals and show how such a feature can simplify the code you need to write to go from docs to done when interacting with JSON-based REST services. [Timestamps below]
Jump to:
1:10 - Simplest example
2:31 - Accessing JSON properties concisely
8:02 - Embedded Expressions
10:14 - Consuming a JSON-based REST API: Getting and Transforming JSON data
15:16 - Consuming a JSON-based REST API: Posting JSON data
17:45 - Comparing with what I'd have to write today
21:45 - Summary/Final Thoughts
DISCLAIMER: This is a *prototype* built to stimulate community discussion around the proposal, help flesh out the design, and scout out potential implementation issues, *not* a ship-ready feature or a final design. And though neither the proposal itself nor the creation of a prototype nor discussion of either should be construed as a suggestion, promise, or statement of intent by anyone that the feature will or should be included in the next or any version of VB.NET or that said inclusion is imminent or likely, it is my firm belief that rigorous discussion and hands-on exploration of potential designs helps both the community and the design team decide a) if they like the feature, b) what design decisions need to be made for the best experience covering the right set of scenarios. In other words, though this feature may never happen it’s far more likely to happen and be designed well if real-world VB professionals and enthusiasts like the feature and are engaged. So if you want it share this video and participate at the links below.
JSON Aficionados Wanted! (Level 100)
https://anthonydgreen.net/2019/03/11/json-aficionados-wanted/
GitHub Issue - JSON literal expressions (Level 200-300)
https://github.com/dotnet/vblang/issues/101
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Prototype - JSON Literals», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.